pkgs: bw-pass: report errors to stderr
Useful in case the script can't prompt using `rofi`.
This commit is contained in:
parent
6c3662dbb3
commit
e1fddb0b1f
|
@ -11,6 +11,7 @@ prompt_pass() {
|
|||
}
|
||||
|
||||
error_out() {
|
||||
printf '%s\n' "$1" >&2
|
||||
rofi -dmenu -no-fixed-num-lines -p "$1"
|
||||
exit 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue