From: Enrico Scholz Date: Sat, 29 Oct 2005 15:35:43 +0000 (+0000) Subject: execute waitForSync everytime and not only when the shutdown succeeded X-Git-Tag: version_0_30_210~62 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbcf7923339aa6f6582b9de2281bde49ac37f48e;p=util-vserver.git execute waitForSync everytime and not only when the shutdown succeeded git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2219 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver.stop b/util-vserver/scripts/vserver.stop index 53be835..7db361e 100644 --- a/util-vserver/scripts/vserver.stop +++ b/util-vserver/scripts/vserver.stop @@ -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[@]}"