summaryrefslogtreecommitdiff
path: root/runvdr
diff options
context:
space:
mode:
Diffstat (limited to 'runvdr')
-rwxr-xr-xrunvdr3
1 files changed, 2 insertions, 1 deletions
diff --git a/runvdr b/runvdr
index 092b3ab9..0eb67822 100755
--- a/runvdr
+++ b/runvdr
@@ -9,7 +9,8 @@ KILLPROC="/sbin/killproc -TERM"
while (true) do
# (cd $DVBDIR; make reload)
# sleep 3
- if $VDRCMD; then exit; fi
+ $VDRCMD
+ if test $? != 1; then exit; fi
date
echo "restarting VDR"
$KILLPROC $VDRPRG