From 461fe50c1ad56d13e9d8254b8a89bbd20c673fac Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 20 Nov 2008 08:55:20 +0000 Subject: [PATCH] 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 --- bacula/src/lib/signal.c | 5 ++++- bacula/technotes-2.5 | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) 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. -- 2.39.5