diff --git a/src/runner.sh b/src/runner.sh index 0a03805..9d71950 100755 --- a/src/runner.sh +++ b/src/runner.sh @@ -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