mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Fix runvdr skript that detects vdradmin as already running vdr
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user