Skip to content

Commit

Permalink
mgr/mgrstandby: display signal info
Browse files Browse the repository at this point in the history
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
  • Loading branch information
renhwztetecs committed Oct 11, 2016
1 parent b4a4a7a commit 3ebd36f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mgr/MgrStandby.cc
Expand Up @@ -124,6 +124,7 @@ void MgrStandby::handle_signal(int signum)
{
Mutex::Locker l(lock);
assert(signum == SIGINT || signum == SIGTERM);
derr << "*** Got signal " << sig_str(signum) << " ***" << dendl;
shutdown();
}

Expand Down

0 comments on commit 3ebd36f

Please sign in to comment.