pkgs: bw-pass: report errors to stderr

Useful in case the script can't prompt using `rofi`.
This commit is contained in:
Bruno BELANYI 2021-07-31 20:17:37 +02:00
parent 6c3662dbb3
commit e1fddb0b1f

View file

@ -11,6 +11,7 @@ prompt_pass() {
} }
error_out() { error_out() {
printf '%s\n' "$1" >&2
rofi -dmenu -no-fixed-num-lines -p "$1" rofi -dmenu -no-fixed-num-lines -p "$1"
exit 1 exit 1
} }