diff --git a/src/pipeline.sh b/src/pipeline.sh index 0bb822b..651530b 100755 --- a/src/pipeline.sh +++ b/src/pipeline.sh @@ -198,7 +198,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