X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Ffunctions;h=b08cc155348f516abb54ad287b41b87eefe6a474;hb=45b62de23133f687e205da704d031bd322dd6702;hp=8c89518c598d168b73542bd8f777954c34336366;hpb=df250a679422b13f9cbac0d94e3e051aba912d15;p=util-vserver.git diff --git a/scripts/functions b/scripts/functions index 8c89518..b08cc15 100644 --- a/scripts/functions +++ b/scripts/functions @@ -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