Skip to content

Commit

Permalink
SPEC: suppress stderr of usermod
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-tikhonov committed Feb 14, 2025
1 parent c36c320 commit 11da3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/sssd.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/sssd.conf

%if %{use_sssd_user}
%pre common
! getent passwd sssd >/dev/null || usermod sssd -d /run/sssd >/dev/null || true
! getent passwd sssd >/dev/null || usermod sssd -d /run/sssd 2>&1 >/dev/null || true
%if %{use_sysusers}
%sysusers_create_compat %{SOURCE1}
%else
Expand Down

0 comments on commit 11da3fc

Please sign in to comment.