From d204aec2a60b5b59a40d87ae66b348cb5432fc08 Mon Sep 17 00:00:00 2001 From: samuel Date: Tue, 9 May 2023 15:15:17 +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 f81df95..66f6759 100755 --- a/src/runner.sh +++ b/src/runner.sh @@ -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