Merge pull request #10707 from SUSE/wip-fix-suse-usermod

rpm: Remove trailing whitespace in usermod command (SUSE)

Reviewed-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
Sage Weil 2016-11-03 11:29:02 -05:00 committed by GitHub
commit 1014850996

View File

@ -961,7 +961,7 @@ if ! getent passwd ceph >/dev/null ; then
useradd ceph $CEPH_USER_ID_OPTION -r -g ceph -s /sbin/nologin 2>/dev/null || :
fi
usermod -c "Ceph storage service" \
-d %{_localstatedir}/lib/ceph \
-d %{_localstatedir}/lib/ceph \
-g ceph \
-s /sbin/nologin \
ceph