From: Kern Sibbald Date: Sat, 7 Mar 2020 18:00:14 +0000 (+0100) Subject: Enhance failed bpipe to changer error message X-Git-Tag: Release-9.6.3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3e1ea8dc1f939a547495e5c5eaac88b58a345f9;p=thirdparty%2Fbacula.git Enhance failed bpipe to changer error message --- diff --git a/bacula/src/stored/autochanger.c b/bacula/src/stored/autochanger.c index 24ffacab5..b6a7850f8 100644 --- a/bacula/src/stored/autochanger.c +++ b/bacula/src/stored/autochanger.c @@ -672,7 +672,7 @@ bool autochanger_cmd(DCR *dcr, BSOCK *dir, const char *cmd) dir->fsend(_("3306 Issuing autochanger \"%s\" command.\n"), cmd); bpipe = open_bpipe(changer, timeout, "r"); if (!bpipe) { - dir->fsend(_("3996 Open bpipe failed.\n")); + dir->fsend(_("3996 Open bpipe to changer failed: %s.\n"), changer); goto bail_out; /* TODO: check if we need to return false */ } if (bstrcasecmp(cmd, "list") || bstrcasecmp(cmd, "listall")) {