From: Eric Bollengier Date: Thu, 20 Nov 2008 08:55:20 +0000 (+0000) Subject: ebl Remove a Emsg() after recieving a Fatal signal that can lock X-Git-Tag: Release-7.0.0~3715 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=659e5ff8619f70f58406ddc7cde5491c402ba2b6;p=bacula%2Fbacula ebl Remove a Emsg() after recieving a Fatal signal that can lock the catalog. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8063 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/lib/signal.c b/bacula/src/lib/signal.c index 01fbecc7cc..1705942275 100644 --- a/bacula/src/lib/signal.c +++ b/bacula/src/lib/signal.c @@ -128,7 +128,10 @@ extern "C" void signal_handler(int sig) if (sig == SIGTERM) { // Emsg1(M_TERM, -1, "Shutting down Bacula service: %s ...\n", my_name); } else { - Emsg2(M_FATAL, -1, _("Bacula interrupted by signal %d: %s\n"), sig, get_signal_name(sig)); +/* ***FIXME*** Display a message without taking any lock in the system + * Emsg2(M_FATAL, -1, _("Bacula interrupted by signal %d: %s\n"), sig, get_signal_name(sig)); + */ + fprintf(stderr, _("Bacula interrupted by signal %d: %s\n"), sig, get_signal_name(sig)); } #ifdef TRACEBACK diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index 19304dccfd..854d6c7854 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -10,6 +10,9 @@ filepattern (restore with regex in bsr) mixed priorities General: +20Nov08 +ebl Remove a Emsg() after recieving a Fatal signal that can lock + the catalog. 19Nov08 kes Apply patch from bug #1187. It prints an error message if the Maximum Block Size in the SD is too big.