]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix a typo
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 13 Jan 2016 19:27:34 +0000 (11:27 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:54 +0000 (16:13 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_admin.cc

index 11ab9c0343f5314366a4f8a2cb4cf0af8ff1276e..d922e01609ed390f2e497834db940f690cc91177 100644 (file)
@@ -1463,7 +1463,7 @@ static int update_period(const string& realm_id, const string& realm_name,
   }
   period.fork();
   ret = period.update();
-  if(ret , 0) {
+  if(ret < 0) {
     cerr << "failed to update period: " << cpp_strerror(-ret) << std::endl;
     return ret;
   }