Fixed bizarre exit behaviour
This commit is contained in:
@ -9,7 +9,7 @@ function new_dmenu_command() {
|
||||
local DMENU_BIN="$HOME/.local/custom_dmenu";
|
||||
|
||||
# fail withouut both arguments
|
||||
[ ! $2 ] && exit 1;
|
||||
[ ! $2 ] && return 1;
|
||||
|
||||
echo "${@:2}"
|
||||
echo "${@:2}" > $DMENU_BIN/$1 2>/dev/null
|
||||
|
Reference in New Issue
Block a user