]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: terminate if statement in %pre scriptlet 8628/head
authorNathan Cutler <ncutler@suse.com>
Sat, 16 Apr 2016 11:48:03 +0000 (13:48 +0200)
committerNathan Cutler <ncutler@suse.com>
Sat, 16 Apr 2016 11:48:03 +0000 (13:48 +0200)
One of the if statements in the ceph-common %pre scriptlet was not properly
terminated.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index 3a5a6f7072fdecabbbf63616920c2c4ead894c50..26928f7b7e875b9b91c7ea40e45bbdb059368360 100644 (file)
@@ -1040,6 +1040,7 @@ if ! getent passwd ceph >/dev/null ; then
     CEPH_USER_ID_OPTION=""
     getent passwd $CEPH_USER_ID >/dev/null || CEPH_USER_ID_OPTION="-u $CEPH_USER_ID"
     useradd ceph $CEPH_USER_ID_OPTION -r -g ceph -s /sbin/nologin -c "Ceph daemons" -d %{_localstatedir}/lib/ceph 2>/dev/null || :
+fi
 %endif
 exit 0