From 42b85525790b4abf4b8ebed5ae41812b12e57601 Mon Sep 17 00:00:00 2001 From: paperbenni Date: Wed, 3 Jun 2020 10:59:30 +0200 Subject: [PATCH] exit quickargs without args --- programs/quickmenu | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/quickmenu b/programs/quickmenu index 4ea06eb..f02a1d9 100755 --- a/programs/quickmenu +++ b/programs/quickmenu @@ -135,6 +135,7 @@ close) if grep -q "^#instantosarg" "$QUICKCHOICE"; then QUICKARGS="$(imenu -i options)" + [ -z "$QUICKARGS" ] && exit fi if grep -q "^#instantosterm" "$QUICKCHOICE"; then -- 2.11.0