mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-05-13 13:58:57 +00:00
parent
fe037ec726
commit
db3a6f3ff7
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ function confirm() {
|
|||
echo -n "> $1 [Y/n] "
|
||||
local RESPONSE
|
||||
read RESPONSE
|
||||
RESPONSE="${RESPONSE,,}" # Convert to lowercase
|
||||
RESPONSE=$(echo "$RESPONSE" | tr '[:upper:]' '[:lower:]')
|
||||
if [[ -z "$RESPONSE" ]] || [[ "$RESPONSE" = "y" ]] || [[ "$RESPONSE" = "yes" ]]; then
|
||||
return 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue