[Dev] Do not display getent output in deployer service
This commit is contained in:
parent
a51c1f3d46
commit
cde881f1b8
|
@ -378,7 +378,7 @@ main() (
|
||||||
fail "Variable runner_deployer_username is empty." \
|
fail "Variable runner_deployer_username is empty." \
|
||||||
"${err_runner_deployer_groupname_empty}"
|
"${err_runner_deployer_groupname_empty}"
|
||||||
fi
|
fi
|
||||||
if ! getent group "${runner_deployer_groupname}"; then
|
if ! getent group "${runner_deployer_groupname}" >/dev/null; then
|
||||||
fail "Runner-deployer group '${runner_deployer_groupname}' does not exist." \
|
fail "Runner-deployer group '${runner_deployer_groupname}' does not exist." \
|
||||||
"${err_runner_deployer_group_not_exist}"
|
"${err_runner_deployer_group_not_exist}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue