diff --git a/src/N98/Util/Exec.php b/src/N98/Util/Exec.php index e9ba05971..c268ccc83 100644 --- a/src/N98/Util/Exec.php +++ b/src/N98/Util/Exec.php @@ -38,7 +38,7 @@ public static function run($command, &$output = null, &$returnCode = null) throw new RuntimeException($message); } - if (OperatingSystem::isBashCompatibleShell() && self::isPipefailOptionAvailable()) { + if (self::isPipefailOptionAvailable()) { $command = self::SET_O_PIPEFAIL . $command; } diff --git a/src/N98/Util/OperatingSystem.php b/src/N98/Util/OperatingSystem.php index ebfd3b94e..435d29fd7 100644 --- a/src/N98/Util/OperatingSystem.php +++ b/src/N98/Util/OperatingSystem.php @@ -165,6 +165,7 @@ public static function getCurrentPhpBinary() } /** + * @deprecated 5.1.1 No longer used by internal code * @return bool */ public static function isBashCompatibleShell()