]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix a typo in init-radosgw 6817/head
authorZhi Zhang <zhangz.david@outlook.com>
Tue, 8 Dec 2015 02:33:53 +0000 (10:33 +0800)
committerZhi Zhang <zhangz.david@outlook.com>
Tue, 8 Dec 2015 02:33:53 +0000 (10:33 +0800)
Signed-off-by: Zhi Zhang zhangz.david@outlook.com
src/init-radosgw

index f18a7610713d57adb30d901b16b818871a4bbcf3..0c37824722528979b48f8b225e68503fc2642a47 100644 (file)
@@ -106,7 +106,7 @@ case "$1" in
             else
                 ulimit -n 32768
                 core_limit=`ceph-conf -n $name 'core file limit'`
-                if [ -z $core_limit ]
+                if [ -z $core_limit ]; then
                     DAEMON_COREFILE_LIMIT=$core_limit
                 fi
                 daemon --user="$user" "$RADOSGW -n $name"