summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-04-01 16:00:00 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-04-01 16:00:00 +0200
commitf1fce1393827ac71875e2b4192e3496ef421dbbb (patch)
treea95e0095dfa9ab1eb5605a751818dbacb4fe078d
parent11eccf850f55363bf8a9bf9dd4926a0040227170 (diff)
downloadvdr-f1fce1393827ac71875e2b4192e3496ef421dbbb.tar.gz
vdr-f1fce1393827ac71875e2b4192e3496ef421dbbb.tar.bz2
Fixed checking exit code
-rwxr-xr-xrunvdr2
1 files changed, 1 insertions, 1 deletions
diff --git a/runvdr b/runvdr
index 0eb67822..5ec34585 100755
--- a/runvdr
+++ b/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