Fix runvdr skript that detects vdradmin as already running vdr

This commit is contained in:
Arne Fitzenreiter
2009-03-28 19:36:15 +01:00
parent f06c4be9c9
commit 38fd5aa38b
3 changed files with 2 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ VDRCMD="/bin/nice --11 $VDRPRG -w 60 -c /opt/vdr/etc $PLUGOPTS $*"
KILL="killall -q -TERM"
if [ "$(ps -A | grep " vdr")" != "" ]; then
if [ "$(ps -A | grep " vdr$")" != "" ]; then
echo Error! VDR is already running!
exit 1
fi