Don't tell init to shutdown if we're called from vshelper, that should've already...
[util-vserver.git] / scripts / functions
index 8c89518..b08cc15 100644 (file)
@@ -1068,6 +1068,12 @@ function vshelper.doStopSync
        test ! -p "$VSHELPER_STOP_SYNC" || echo stopped > "$VSHELPER_STOP_SYNC"
 }
 
+function vshelper.isStopSync
+{
+       test -p "$VSHELPER_STOP_SYNC" || return 1
+       return 0
+}
+
 function _rpmFake.getCapFlags
 {
     local ctx=$1