From: dongshengyuan <545258830@qq.com> Date: Tue, 11 Aug 2026 06:41:41 +0000 (+0800) Subject: vpick: terminate tries output with newline X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f40aa8ea1c3eeffeab1fd4f96233fe5d9afc0c36;p=thirdparty%2Fsystemd.git vpick: terminate tries output with newline tries should be line-oriented like the other --print= modes. Terminate its counter output with a newline to avoid glued CLI output. Before: output bytes were 2b 32 2d 33. After: output bytes are 2b 32 2d 33 0a. Follow-up for: 9e61ed11156d423dc171a3377119b39b1cc4a8d6 --- diff --git a/src/vpick/vpick-tool.c b/src/vpick/vpick-tool.c index 8dd22e0ea28..6ce3ef944e3 100644 --- a/src/vpick/vpick-tool.c +++ b/src/vpick/vpick-tool.c @@ -301,7 +301,7 @@ static int run(int argc, char *argv[]) { if (result.tries_left == UINT_MAX) return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "No tries left/tries done information discovered."); - printf("+%u-%u", result.tries_left, result.tries_done); + printf("+%u-%u\n", result.tries_left, result.tries_done); break; case PRINT_ALL: {