We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe72ef commit 8756d5bCopy full SHA for 8756d5b
setup.sh
@@ -17,8 +17,8 @@ prompt_yes_no() {
17
while true; do
18
if ! read -r -p " $2 [Y/n]: " response; then
19
# Handle EOF (Ctrl+D)
20
- echo # Print a newline for better formatting
21
- exit 1 # Return with a non-zero status to indicate cancellation
+ echo
+ exit 1
22
fi
23
case $response in
24
[Yy]* | '') eval "$3='y'"; return 0 ;;
0 commit comments