use 'set -e' instead of 'set +e'
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 30 Oct 2003 17:29:08 +0000 (17:29 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 30 Oct 2003 17:29:08 +0000 (17:29 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@339 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver.start
util-vserver/scripts/vserver.stop

index 94ea26f..96d3a16 100644 (file)
@@ -20,7 +20,7 @@ if isVserverRunning "$VSERVER_DIR"; then
     exit 1
 fi
 
-set +e
+set -e
 generateOptions  "$VSERVER_DIR"
 execScriptlets   "$VSERVER_DIR" "$VSERVER_NAME" prepre-start
 enableInterfaces "$VSERVER_DIR"
index 31d112f..396da71 100644 (file)
@@ -24,7 +24,7 @@ fi
 
 generateOptions   "$VSERVER_DIR"
 
-set +e
+set -e
 cd "$VSERVER_DIR"/vdir/
 execScriptlets    "$VSERVER_DIR" "$VSERVER_NAME" pre-stop