]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix #8572 About the SD capabilities info more clear
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Thu, 23 Dec 2021 09:53:16 +0000 (10:53 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:57 +0000 (13:56 +0200)
bacula/src/stored/status.c

index bc3b39c486e1b6d57b051d1128350fb23e16ffd8..6b4f1746abf9a18ff5438236c4295096978dc89e 100644 (file)
@@ -656,8 +656,9 @@ static void list_status_header(STATUS_PKT *sp)
 #else
    immutable = false;
 #endif // HAVE_IMMUTABLE_FL
-   len = Mmsg(msg, " Capabilities needed: %d append_only support: %d immutable support: %d\n",
-         got_caps_needed, append_only, immutable);
+   len = Mmsg(msg, " Caps: %s, %s\n",
+         append_only ? "APPEND_ONLY" : "!APPEND_ONLY",
+         immutable ? "IMMUTABLE" : "!IMMUTABLE");
    sendit(msg, len, sp);
 }