nix-env: print a final newline after JSON

This commit is contained in:
Naïm Favier 2022-03-16 16:15:11 +01:00
parent 5736661922
commit 8dcecc0738
No known key found for this signature in database
GPG key ID: 49B07322580B7EE2

View file

@ -1057,6 +1057,7 @@ static void opQuery(Globals & globals, Strings opFlags, Strings opArgs)
/* Print the desired columns, or XML output. */
if (jsonOutput) {
queryJSON(globals, elems, printOutPath, printMeta);
cout << '\n';
return;
}