From b5f2e38bb14e11740c88d3962570ab9ea5d59dd8 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sat, 3 Jul 2004 01:38:32 +0000 Subject: [PATCH] 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 --- util-vserver/scripts/vserver.functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) ;; -- 1.8.1.5