From 29da9db9874e38022150f991929227ce1ab25353 Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 4 Jun 2005 17:17:55 +0000 Subject: [PATCH] Correct bizarre syntax error when using dash git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2223 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall2/shorewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall2/shorewall b/Shorewall2/shorewall index 666f61fb7..2437f7e1c 100755 --- a/Shorewall2/shorewall +++ b/Shorewall2/shorewall @@ -1430,7 +1430,7 @@ case "$1" in ;; safe-restart|safe-start) # test is the shell supports timed read - read -t 0 2> /dev/null + read -t 0 junk 2> /dev/null if [ $? -eq 2 -a ! -x /bin/bash ] then echo "Your shell does not support a feature required to execute this command".