From 38475db45ad0ccba1fd7ba01afcdc15828beded1 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 6 Nov 2021 22:14:32 +0300 Subject: [PATCH] init.d: cosmetics --- init.d/sysv/functions | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/init.d/sysv/functions b/init.d/sysv/functions index a9f6c50..be5eac3 100644 --- a/init.d/sysv/functions +++ b/init.d/sysv/functions @@ -53,13 +53,13 @@ prepare_user() user_exists $WS_USER || { # fallback to daemon if we cant add WS_USER useradd_compat $WS_USER || { - for user in daemon nobody; do - user_exists $user && { - WS_USER=$user - return 0 - } - done - return 1 + for user in daemon nobody; do + user_exists $user && { + WS_USER=$user + return 0 + } + done + return 1 } } }