mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-30 19:54:43 +00:00
boostrap: Prompt for sudo in create_daemon_users if non-interactive
This commit is contained in:
parent
7075538f7e
commit
30ae060482
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ sudo_prompt(){
|
|||
# Daemon setup
|
||||
create_daemon_users(){
|
||||
echo -e ""$BLUE"Nix daemon user/group configuration"$ESC""
|
||||
sudo_prompt
|
||||
[ ! -z $CREATE_DAEMON_USERS ] && sudo_prompt
|
||||
|
||||
# If the group exists, dscl returns exit code 56.
|
||||
# Since this is not strictly an error code, standard code
|
||||
|
|
Loading…
Add table
Reference in a new issue