forked from extern/shorewall_code
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:
parent
b4aea1680b
commit
29da9db987
@ -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".
|
||||
|
Loading…
Reference in New Issue
Block a user