freebsd-ports/audio/vagalume/files/patch-scripst-vagalumectl
Martin Wilke f8ba3cbc67 - Update to 0.7
PR:		127175
Submitted by:	Bernhard Froehlich <decke@bluelife.at> (maintainer)
2008-09-07 16:21:01 +00:00

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";