]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Do not abort the job at a low level if the TCP connection is refused
authorEric Bollengier <eric@baculasystems.com>
Thu, 25 Mar 2021 14:21:03 +0000 (15:21 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:00 +0000 (09:03 +0100)
bacula/src/lib/bsockcore.c

index 696ebc3658ed895a20c50058519ca1d814f9fa51..59a1f8ba7c93e7e1d93a30a98840814720fe47a1 100644 (file)
@@ -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;
       }