From 40324e5be9a4bd0b9532a0db6e0887a9e97e6f07 Mon Sep 17 00:00:00 2001 From: samuel Date: Tue, 9 May 2023 15:09:15 +0200 Subject: [PATCH] [Dev] Hide getent output --- src/runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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