]> Sergey Matveev's repositories - nnn.git/commitdiff
Exit cmusq when missing
authorLuuk van Baal <luukvbaal@gmail.com>
Sun, 16 May 2021 21:39:10 +0000 (23:39 +0200)
committerLuuk van Baal <luukvbaal@gmail.com>
Sun, 16 May 2021 21:39:10 +0000 (23:39 +0200)
plugins/cmusq

index 1b30059d0b5b9e4f954bbb1cb5f919d6c6425e6f..fbaa4850a4e17a165951f48fe98b25551278a275 100755 (executable)
@@ -23,6 +23,7 @@
 if ! type cmus >/dev/null; then
     printf "cmus missing"
     read -r _
+    exit 1
 fi
 
 selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}