mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
varlinkctl: be friendly to later extensions of GetInfo Varlink call
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user