]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/immutable_object_cache/main.cc
import 15.2.5
[ceph.git] / ceph / src / tools / immutable_object_cache / main.cc
index bfe49df6323894fce40afe5cb801a040dc543c9b..29977f461f5bb631609633bddea6eef3ba115ab6 100644 (file)
@@ -67,7 +67,10 @@ int main(int argc, const char **argv) {
     goto cleanup;
   }
 
-  cachectl->run();
+  r = cachectl->run();
+  if (r < 0) {
+    goto cleanup;
+  }
 
  cleanup:
   unregister_async_signal_handler(SIGHUP, sighup_handler);