summaryrefslogtreecommitdiff
path: root/runvdr
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-04-01 11:18:28 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-04-01 11:18:28 +0200
commit28130daef7b11beeafaf0c59dd45e8f0aafd6d5b (patch)
tree9aca64bba0100c1284b4685d86e2f8bdf1303d07 /runvdr
parentf3f2d4577dc97946b368bc42ee7fec2489c3ab51 (diff)
downloadvdr-28130daef7b11beeafaf0c59dd45e8f0aafd6d5b.tar.gz
vdr-28130daef7b11beeafaf0c59dd45e8f0aafd6d5b.tar.bz2
No longer calling 'abort()'
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