mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-12-12 22:38:50 +00:00
fix: improve user prompt in installation script for debros user creation
- Updated the user creation prompt to use `read -rp` for better user experience by allowing inline input without a newline. - Ensured clarity in the prompt message for creating the 'debros' user.
This commit is contained in:
parent
6bce9f23d0
commit
e5a71ba295
@ -70,7 +70,7 @@ check_and_setup_debros_user() {
|
||||
|
||||
# Ask for permission to create the user
|
||||
while true; do
|
||||
read -p "Would you like to create the '$DEBROS_USER' user? (yes/no): " CREATE_USER_CHOICE
|
||||
read -rp "Would you like to create the '$DEBROS_USER' user? (yes/no): " CREATE_USER_CHOICE
|
||||
case "$CREATE_USER_CHOICE" in
|
||||
[Yy][Ee][Ss]|[Yy])
|
||||
log "Creating system user '$DEBROS_USER'..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user