]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix .status storage devices output
authorEric Bollengier <eric@baculasystems.com>
Wed, 14 Dec 2022 15:12:24 +0000 (16:12 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:01 +0000 (13:57 +0200)
bacula/src/stored/status.c

index c408b27c1744b23e885c7bba3f8a58d8bbfc6956..2e5f321228c9cf834acc1fb746c4c6537526d7c8 100644 (file)
@@ -502,6 +502,7 @@ static void list_devices(STATUS_PKT *sp, char *name)
       }
    }
    if (sp->api > 1) {
+      ow.get_output(OT_CLEAR, OT_END);
       ow.end_list();
       ow.get_output(OT_END_OBJ, OT_END);
       buf = ow.end_group();