X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fsysv%2Frebootmgr.subst;h=f60a5fef7918c418d30117282c2bcc25e9536fce;hb=bb23ba0d1b3ab139512fd137a5e7f7241a49c2d6;hp=84b00e21e6c51ff4cd5a2dd38a01dade76efa42d;hpb=8be566b1a2c10b883a2ec9a003cdf568e476f070;p=util-vserver.git diff --git a/util-vserver/sysv/rebootmgr.subst b/util-vserver/sysv/rebootmgr.subst index 84b00e2..f60a5fe 100755 --- a/util-vserver/sysv/rebootmgr.subst +++ b/util-vserver/sysv/rebootmgr.subst @@ -17,6 +17,8 @@ case "$1" in VSERVERS= for serv in *.conf do + test -f "$serv" || continue + serv=`basename $serv .conf` if [ -d $DEFAULT_VSERVERDIR/$serv ] ; then VSERVERS="$VSERVERS $serv"