1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-14 04:58:28 +03:00

varlinkctl: be friendly to later extensions of GetInfo Varlink call

This commit is contained in:
Lennart Poettering 2024-05-24 15:24:23 +02:00
parent ef4bfa5524
commit 18863534f8

View File

@ -235,7 +235,7 @@ static int verb_info(int argc, char *argv[], void *userdata) {
};
_cleanup_(get_info_data_done) GetInfoData data = {};
r = sd_json_dispatch(reply, dispatch_table, SD_JSON_LOG, &data);
r = sd_json_dispatch(reply, dispatch_table, SD_JSON_LOG|SD_JSON_ALLOW_EXTENSIONS, &data);
if (r < 0)
return r;