From: Nathan Cutler Date: Sat, 16 Apr 2016 11:48:03 +0000 (+0200) Subject: ceph.spec.in: terminate if statement in %pre scriptlet X-Git-Tag: v10.2.0~13^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8628%2Fhead;p=ceph.git ceph.spec.in: terminate if statement in %pre scriptlet One of the if statements in the ceph-common %pre scriptlet was not properly terminated. Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index 3a5a6f7072fd..26928f7b7e87 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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