]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Return can be only from function. Use exit.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 22 May 2008 19:08:32 +0000 (19:08 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 22 May 2008 19:08:32 +0000 (19:08 +0000)
svn-id: @9761

sysconfig/network-scripts/ifdown

index 1f3a3d9999d719bb35ad4f5f64e5143de5cf68b8..4cdeb2f1d692980bbd52cb2d90a2913ec9752b48 100755 (executable)
@@ -153,7 +153,7 @@ fi
 
 if [ -n "$RESULT" ] ; then
        if [ "$RESULT" -ne "0" ]; then
-               return $RESULT
+               exit $RESULT
        fi
 fi
 
This page took 0.184965 seconds and 4 git commands to generate.