Skip to content

Commit

Permalink
rpm: Remove trailing whitespace in usermod command (SUSE)
Browse files Browse the repository at this point in the history
Trailing whitespace after the backslash on the -d line of the
usermod command effectively splits it in two, breaking the
rpm %pre script for SUSE builds.

Signed-off-by: Tim Serong <[email protected]>
  • Loading branch information
tserong committed Aug 12, 2016
1 parent c5ec1cf commit 8e1b308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,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
Expand Down

0 comments on commit 8e1b308

Please sign in to comment.