use 'findObject -e' instead of 'findFile' to find /dev/null also
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 26 Mar 2004 09:50:32 +0000 (09:50 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 26 Mar 2004 09:50:32 +0000 (09:50 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1389 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vshelper

index 0bc4e10..1d58907 100755 (executable)
@@ -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