aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/moclyrics
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/moclyrics')
-rwxr-xr-xplugins/moclyrics2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/moclyrics b/plugins/moclyrics
index 1bb0624..d9619f9 100755
--- a/plugins/moclyrics
+++ b/plugins/moclyrics
@@ -18,7 +18,7 @@ out="$(mocp -i)"
# Check if anything is playing
state=$(echo "$out" | grep "State:" | cut -d' ' -f2)
-if ! [ $state = 'PLAY' ]; then
+if ! [ "$state" = 'PLAY' ]; then
exit
fi