Fix equality operator that fails in sh (works in bash)

This commit is contained in:
iliajie
2022-07-07 13:52:56 +03:00
parent f3be18aa28
commit 3bb6b0b992

View File

@@ -736,7 +736,7 @@ fi
echo "..done"
echo ""
if [ "$upgrading" = 1 -a "$inetd" != "1" -a "$nostop" == "" ]; then
if [ "$upgrading" = 1 -a "$inetd" != "1" -a "$nostop" = "" ]; then
# Stop old version, with updated stop script
$config_dir/stop >/dev/null 2>&1
fi