From cde881f1b8d17b48090bdb4accde0738ff0e37ea Mon Sep 17 00:00:00 2001 From: samuel Date: Tue, 9 May 2023 14:18:47 +0200 Subject: [PATCH] [Dev] Do not display getent output in deployer service --- src/deployer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deployer.sh b/src/deployer.sh index 7be219b..21704d8 100755 --- a/src/deployer.sh +++ b/src/deployer.sh @@ -378,7 +378,7 @@ main() ( fail "Variable runner_deployer_username 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