From 99c1b1051ec9a162c49f19eb89862f44895d673d Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 13 Apr 2004 08:08:58 +0000 Subject: [PATCH] use new locking mechanism git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1444 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-vserver/scripts/functions b/util-vserver/scripts/functions index 8ac1cfc..1a23eb6 100644 --- a/util-vserver/scripts/functions +++ b/util-vserver/scripts/functions @@ -129,7 +129,7 @@ function lock sleep 10 $_LOCKFILE "$1" $tmp $2 & - cat <$tmp >/dev/null + $tmp 2>/dev/null || return 1 _VS_LOCKS="$! $_VS_LOCKS" } -- 1.8.1.5