mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
fix: confirm prompt should return not exit
This commit is contained in:
parent
1ee22e3a9a
commit
2f783f2ba3
@ -42,6 +42,6 @@ chosen=$(printf '%s;%s\n' "$yes" "$no" |
|
||||
-selected-row 1)
|
||||
|
||||
case "$chosen" in
|
||||
"$yes") exit 0 ;;
|
||||
*) exit 1 ;;
|
||||
"$yes") return 0 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user