nix-env: print a final newline after JSON

This commit is contained in:
Naïm Favier
2022-03-16 21:26:19 +01:00
parent 5736661922
commit 8dcecc0738
+1
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;
}