execute waitForSync everytime and not only when the shutdown succeeded
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 29 Oct 2005 15:35:43 +0000 (15:35 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 29 Oct 2005 15:35:43 +0000 (15:35 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2219 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver.stop

index 53be835..7db361e 100644 (file)
@@ -84,7 +84,7 @@ else
     "${INITCMD_STOP[@]}" || fail=1
 fi
 
-test -n "$fail" || waitForSync "$VSERVER_DIR" "$sync_fifo" "$vwait_statdir"
+waitForSync "$VSERVER_DIR" "$sync_fifo" "$vwait_statdir"
 
 vshelper.doDestroy "$VSERVER_DIR" "$S_CONTEXT"
 sendKillSequence   "$S_CONTEXT" "${INITKILL_SEQ[@]}"