Fixed the 'su' call in 'runvdr'

This commit is contained in:
Klaus Schmidinger
2004-01-09 16:21:03 +01:00
parent 299a600c3c
commit 732387379d
3 changed files with 8 additions and 2 deletions

4
runvdr
View File

@@ -18,7 +18,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: runvdr 1.11 2003/08/26 16:15:41 kls Exp $
# $Id: runvdr 1.12 2004/01/09 16:19:26 kls Exp $
DVBDIR="../DVB/driver"
VDRPRG="./vdr"
@@ -33,7 +33,7 @@ if [ $LSMOD -eq 0 ] ; then
fi
while (true) do
su -c "$VDRCMD" $VDRUSR
su $VDRUSR -c "$VDRCMD"
if test $? -eq 0 -o $? -eq 2; then exit; fi
date
echo "restarting VDR"