From a3e02effed4d25ae2a069892ce8a1931cd5c5283 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Aug 31 2009 16:00:33 +0000 Subject: redirect stderr of groupadd to /dev/null, not stdout --- diff --git a/exim.spec b/exim.spec index f0c5a5b..0859deb 100644 --- a/exim.spec +++ b/exim.spec @@ -331,7 +331,7 @@ touch $RPM_BUILD_ROOT/%_var/spool/exim/db/greylist.db rm -rf $RPM_BUILD_ROOT %pre -%{_sbindir}/groupadd -g 93 exim 2>&1 +%{_sbindir}/groupadd -g 93 exim 2>/dev/null %{_sbindir}/useradd -d %{_var}/spool/exim -s /sbin/nologin -G mail -M -r -u 93 -g exim exim 2>/dev/null # Copy TLS certs from old location to new -- don't move them, because the # config file may be modified and may be pointing to the old location.