From: Eric Bollengier Date: Thu, 25 Mar 2021 14:21:03 +0000 (+0100) Subject: Do not abort the job at a low level if the TCP connection is refused X-Git-Tag: Release-11.3.2~651 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0afb4a291ab88baa32a7d1e4265256ab41e8f2b2;p=thirdparty%2Fbacula.git Do not abort the job at a low level if the TCP connection is refused --- diff --git a/bacula/src/lib/bsockcore.c b/bacula/src/lib/bsockcore.c index 696ebc365..59a1f8ba7 100644 --- a/bacula/src/lib/bsockcore.c +++ b/bacula/src/lib/bsockcore.c @@ -262,7 +262,7 @@ bool BSOCKCORE::connect(JCR * jcr, int retry_interval, utime_t max_retry_time, bmicrosleep(retry_interval, 0); now = time(NULL); if (begin_time + max_retry_time <= now) { - Qmsg4(jcr, M_FATAL, 0, _("Unable to connect to %s on %s:%d. ERR=%s\n"), + Qmsg4(jcr, M_WARNING, 0, _("Unable to connect to %s on %s:%d. ERR=%s\n"), name, host, port, be.bstrerror()); goto bail_out; }