init.d: cosmetics

This commit is contained in:
bol-van 2021-11-06 22:14:32 +03:00
parent cc6d8d9636
commit 38475db45a

View File

@ -53,13 +53,13 @@ prepare_user()
user_exists $WS_USER || { user_exists $WS_USER || {
# fallback to daemon if we cant add WS_USER # fallback to daemon if we cant add WS_USER
useradd_compat $WS_USER || { useradd_compat $WS_USER || {
for user in daemon nobody; do for user in daemon nobody; do
user_exists $user && { user_exists $user && {
WS_USER=$user WS_USER=$user
return 0 return 0
} }
done done
return 1 return 1
} }
} }
} }