From: Enrico Scholz Date: Sat, 3 Jul 2004 01:38:32 +0000 (+0000) Subject: prepareInit(): fixed case when .autofsck does not exist X-Git-Tag: IPSENTINEL_VERSION_0_11~7 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f2e38bb14e11740c88d3962570ab9ea5d59dd8;p=util-vserver.git prepareInit(): fixed case when .autofsck does not exist git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1640 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver.functions b/util-vserver/scripts/vserver.functions index 52558b7..2316ee2 100644 --- a/util-vserver/scripts/vserver.functions +++ b/util-vserver/scripts/vserver.functions @@ -593,8 +593,8 @@ function prepareInit find var/lock ! -type d -print0; } | xargs -0r $_CHROOT_RM ;; plain) - $_CHROOT_RM .autofsck forcefsck - : | $_CHROOT_CAT fastboot + $_CHROOT_RM .autofsck forcefsck 2>/dev/null || : + : | $_CHROOT_CAT fastboot 2>/dev/null || : ;; minit) ;;