f8ba3cbc67
PR: 127175 Submitted by: Bernhard Froehlich <decke@bluelife.at> (maintainer)
11 lines
470 B
Text
11 lines
470 B
Text
--- scripts/vagalumectl 2008-08-06 16:53:19.000000000 +0200
|
|
+++ scripts/vagalumectl 2008-08-06 16:53:39.000000000 +0200
|
|
@@ -151,7 +151,7 @@
|
|
fi
|
|
|
|
# Check whether vagalume is or not already running
|
|
-if ! pidof vagalume > /dev/null; then
|
|
+if ! pgrep -x vagalume > /dev/null; then
|
|
if [ ${COMMAND} = "close" ]; then
|
|
# Exit cleanly without executing the 'close' command when Vagalume is not running
|
|
echo "Vagalume not running: no need to close it";
|