Correct bizarre syntax error when using dash

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2223 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-06-04 17:17:55 +00:00
parent b4aea1680b
commit 29da9db987

View File

@ -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".