redirect stderr of groupadd to /dev/null, not stdout

This commit is contained in:
David Woodhouse 2009-08-31 16:00:33 +00:00
parent 93ecfd866a
commit a3e02effed
1 changed files with 1 additions and 1 deletions

View File

@ -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.