From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 5/5] clamav: Silence output during user creation. Date: Tue, 14 Feb 2023 09:15:40 +0100 Message-ID: <20230214081540.125883-5-stefan.schantl@ipfire.org> In-Reply-To: <20230214081540.125883-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1601427960149682259==" List-Id: --===============1601427960149682259== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Stefan Schantl --- clamav/clamav.nm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clamav/clamav.nm b/clamav/clamav.nm index de834c6e0..43ac22edc 100644 --- a/clamav/clamav.nm +++ b/clamav/clamav.nm @@ -76,8 +76,8 @@ end create_users # Create user and group for clamav. - getent group clamav || groupadd -g 496 -r clamav || : - getent passwd clamav || useradd -u 496 -r -s /sbin/nologin \ + getent group clamav >/dev/null || groupadd -g 496 -r clamav || : + getent passwd clamav >/dev/null || useradd -u 496 -r -s /sbin/nologin \ -d / -M -g clamav clamav || : end -- 2.30.2 --===============1601427960149682259==--