]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Defensive shell programming - tidy up quoting of test assignments.
authorDarren Nickerson <darren.nickerson@ifax.com>
Sun, 18 Jun 2000 07:58:14 +0000 (07:58 +0000)
committerDarren Nickerson <darren.nickerson@ifax.com>
Sun, 18 Jun 2000 07:58:14 +0000 (07:58 +0000)
Contributed by Andy Sparrow <andy@geek4food.org>.

etc/faxsetup.sh.in

index a8509faffaddd3da9d1b99be1e8c443e6fce8602..90ea134ca3479c0b4c0b4c2b71e30404a524ce70 100644 (file)
@@ -1661,7 +1661,7 @@ fi
 #
 if onServer; then
     signalINETD=no
-    if [ -f $SYSVINIT ]; then
+    if [ -f "$SYSVINIT" ]; then
        # started by init at boot time
         if [ $FAXQ_SERVER -eq 0 ]; then
             cat <<EOF
@@ -2165,7 +2165,7 @@ EOF
     prompt "Should I restart the HylaFAX server processes [yes]?"; read x
     if isOK "$x"; then
        echo ""
-       if [ -x $SYSVINIT ]; then
+       if [ -x "$SYSVINIT" ]; then
            echo $SYSVINIT start
            $SYSVINIT start
        else