diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-22 02:14:25 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-22 11:13:34 +0530 |
commit | 1cca9e4b72b106374f203890b266f18609deefe3 (patch) | |
tree | 9f281f4b4de296c54d13dc9c7e214f58835636a7 /plugins/moclyrics | |
parent | ee2dcb1de7d3e82b330f49ee9fb5dfd4608207ff (diff) | |
download | nnn-1cca9e4b72b106374f203890b266f18609deefe3.tar.gz |
shellcheck fixes
Diffstat (limited to 'plugins/moclyrics')
-rwxr-xr-x | plugins/moclyrics | 2 |
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 |