]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Tweak status output to display plugin with their short names
authorEric Bollengier <eric@baculasystems.com>
Mon, 4 Oct 2021 17:48:23 +0000 (19:48 +0200)
committerEric Bollengier <eric@baculasystems.com>
Wed, 6 Sep 2023 07:49:01 +0000 (09:49 +0200)
bacula/src/lib/output.c

index d703a44d0dd8872b9b6db567a7a6636bb01a8a80..3fa9004f049517742cee7bd9c075cffcbdd54729 100644 (file)
@@ -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);