[pve-devel] applied: [PATCH mini-journalreader v3] fix #6410: properly close json output on error

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jun 3 20:56:23 CEST 2025


On Tue, 03 Jun 2025 10:52:47 +0200, Dominik Csapak wrote:
> when encountering an error (e.g. there was no curser at the wanted
> position), the program would close with exitcode 1, but would not
> properly finish the json output if in json mode.
> 
> To fix that, introduce a `print_error_and_exit` helper that tries to
> finish the json output. We set `success` to 0 to indicate an error.
> 
> [...]

Applied, thanks!

[1/1] fix #6410: properly close json output on error
      commit: a1d86b7e6526351b6513f516a661acce33d1b64d




More information about the pve-devel mailing list