Browse Source

init.d: cosmetics

pull/81/head
bol-van 3 years ago
parent
commit
38475db45a
  1. 14
      init.d/sysv/functions

14
init.d/sysv/functions

@ -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
} }
} }
} }

Loading…
Cancel
Save