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 1783c2838b
commit 55a04cfac3

View file

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