From b925be726bdd44ae3cd909fd0cd90633bf5c7de5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 10 Mar 2019 10:48:21 -0500 Subject: [PATCH] mgr/MgrStandby: exit with 0 result code, as if we'd done an orderly shutdown This matches the prior behavior with shutdown(). It also makes teuthology happy. Signed-off-by: Sage Weil --- src/mgr/MgrStandby.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgr/MgrStandby.cc b/src/mgr/MgrStandby.cc index bf6dc65f68dc0..ee246b8cbf6ea 100644 --- a/src/mgr/MgrStandby.cc +++ b/src/mgr/MgrStandby.cc @@ -264,7 +264,7 @@ void MgrStandby::handle_signal(int signum) { ceph_assert(signum == SIGINT || signum == SIGTERM); derr << "*** Got signal " << sig_str(signum) << " ***" << dendl; - _exit(128 + signum); + _exit(0); // exit with 0 result code, as if we had done an orderly shutdown //shutdown(); } -- 2.39.5