From 3108c34d50bf0a24de7d98c217c990e3b4965395 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sat, 16 Apr 2016 13:48:03 +0200 Subject: [PATCH] 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 --- ceph.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph.spec.in b/ceph.spec.in index 3a5a6f7072fde..26928f7b7e875 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 -- 2.39.5