~ubuntu-branches/ubuntu/raring/ceph/raring

« back to all changes in this revision

Viewing changes to src/global/signal_handler.cc

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2012-02-05 10:07:38 UTC
  • mfrom: (1.1.7) (0.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20120205100738-00s0bxx93mamy8tk
Tags: 0.41-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
            sys_siglist[signum], (unsigned long long)pthread_self());
82
82
  dout_emergency(buf);
83
83
  pidfile_remove();
84
 
  reraise_fatal(signum);
 
84
  if (signum == SIGTERM)
 
85
    exit(0);
 
86
  else
 
87
    reraise_fatal(signum);
85
88
}
86
89
 
87
90
static void handle_fatal_signal(int signum)