[Dev] Hide getent output
This commit is contained in:
parent
5ec38ad657
commit
d204aec2a6
|
@ -474,7 +474,7 @@ main() (
|
|||
if [ -z "${runner_deployer_groupname}" ]; then
|
||||
fail "Variable runner_deployer_groupname is empty." "${err_runner_deployer_groupname_empty}"
|
||||
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." \
|
||||
"${err_runner_deployer_group_not_exist}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue