1
0
mirror of https://github.com/vdr-projects/vdr.git synced 2025-03-01 10:50:46 +00:00

Fixed checking exit code

This commit is contained in:
Klaus Schmidinger 2001-04-01 16:00:00 +02:00
parent 11eccf850f
commit f1fce13938

2
runvdr

@ -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