fix: confirm prompt should return not exit

This commit is contained in:
Noah Masur 2024-01-07 17:46:11 -05:00
parent 1ee22e3a9a
commit 2f783f2ba3

View File

@ -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