mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 21:35:37 +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)
|
-selected-row 1)
|
||||||
|
|
||||||
case "$chosen" in
|
case "$chosen" in
|
||||||
"$yes") exit 0 ;;
|
"$yes") return 0 ;;
|
||||||
*) exit 1 ;;
|
*) return 1 ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user