mirror of
https://github.com/systemd/systemd.git
synced 2024-10-26 08:55:40 +03:00
varlinkctl: flush stdout after each record in --more mode
So things work correctly even if varlinkctl's output is redirected to a file.
This commit is contained in:
parent
343d2d2950
commit
fb02abccf0
@ -522,6 +522,7 @@ static int reply_callback(
|
||||
if (!arg_quiet)
|
||||
sd_json_variant_dump(parameters, arg_json_format_flags, stdout, NULL);
|
||||
|
||||
fflush(stdout);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user