From 552047c69c293485ce2401ae8bc0c0894b2fb410 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 26 Mar 2004 09:50:32 +0000 Subject: [PATCH] use 'findObject -e' instead of 'findFile' to find /dev/null also git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1389 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/vshelper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util-vserver/scripts/vshelper b/util-vserver/scripts/vshelper index 0bc4e10..1d58907 100755 --- a/util-vserver/scripts/vshelper +++ b/util-vserver/scripts/vshelper @@ -114,8 +114,8 @@ function doDefaultMethod #=========== if ! tty -s; then - findFile _VS_LOGFILE "$CONFDIR"/.defaults/apps/vshelper/logfile /dev/null - findFile _VS_ERRFILE "$CONFDIR"/.defaults/apps/vshelper/logfile /dev/null + findObject -e _VS_LOGFILE "$CONFDIR"/.defaults/apps/vshelper/logfile /dev/null + findObject -e _VS_ERRFILE "$CONFDIR"/.defaults/apps/vshelper/logfile /dev/null exec >>$_VS_LOGFILE exec 2>>$_VS_ERRFILE -- 1.8.1.5