feat(tui): add safe client and backup workflows
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ case $subcommand in
|
||||
fi
|
||||
case $subcommand in
|
||||
confirm) [[ $answer == y || $answer == Y ]] || exit 1; exit 0 ;;
|
||||
input) printf '%s\n' "$answer"; exit 0 ;;
|
||||
input) [[ -n $answer ]] || exit 1; printf '%s\n' "$answer"; exit 0 ;;
|
||||
*) [[ -n $answer ]] && printf '%s\n' "$answer" || exit 1; exit 0 ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user