1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02: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
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