Fixed checking exit code

This commit is contained in:
Klaus Schmidinger 2001-04-01 16:00:00 +02:00
parent 11eccf850f
commit f1fce13938
1 changed files with 1 additions and 1 deletions

2
runvdr
View File

@ -10,7 +10,7 @@ while (true) do
# (cd $DVBDIR; make reload)
# sleep 3
$VDRCMD
if test $? != 1; then exit; fi
if test $? -ne 1; then exit; fi
date
echo "restarting VDR"
$KILLPROC $VDRPRG