From 2d6fad13cc82deca2b73072ff66fe34934f8c098 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 4 Oct 2021 19:48:23 +0200 Subject: [PATCH] Tweak status output to display plugin with their short names --- bacula/src/lib/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/lib/output.c b/bacula/src/lib/output.c index d703a44d0..3fa9004f0 100644 --- a/bacula/src/lib/output.c +++ b/bacula/src/lib/output.c @@ -399,7 +399,7 @@ char *OutputWriter::get_output(va_list ap, POOLMEM **out, OutputType first) lst = va_arg(ap, alist *); i = 0; Mmsg(tmp, "%s%c%s", - ow_quote_string("plugin"), + ow_quote_string("plugins"), equal, open_table); if (lst) { @@ -407,7 +407,7 @@ char *OutputWriter::get_output(va_list ap, POOLMEM **out, OutputType first) if (i++ > 0) { pm_strcat(tmp, ","); } - pm_strcat(tmp, ow_quote_string(plug->file)); + pm_strcat(tmp, ow_quote_string(plug->name)); } } pm_strcat(tmp, close_table); -- 2.47.3