[Dev] Hide getent output
This commit is contained in:
parent
c6373af98c
commit
40324e5be9
|
@ -482,7 +482,7 @@ main() (
|
|||
if [ -z "${git_runner_groupname}" ]; then
|
||||
fail "Variable git_runner_groupname is empty." "${err_git_runner_groupname_empty}"
|
||||
fi
|
||||
if ! getent group "${git_runner_groupname}"; then
|
||||
if ! getent group "${git_runner_groupname}" >/dev/null; then
|
||||
fail "Git-runner group '${git_runner_groupname}' does not exist." \
|
||||
"${err_git_runner_group_not_exist}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue