[5/5] clamav: Silence output during user creation.
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
clamav/clamav.nm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -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