mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
init.d: cosmetics
This commit is contained in:
parent
cc6d8d9636
commit
38475db45a
@ -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…
Reference in New Issue
Block a user