Skip to content

init: Don't use newlines in perror messages#582

Merged
jakecorrenti merged 1 commit intocontainers:mainfrom
mz-pdm:pdm-perror-newline
Mar 11, 2026
Merged

init: Don't use newlines in perror messages#582
jakecorrenti merged 1 commit intocontainers:mainfrom
mz-pdm:pdm-perror-newline

Conversation

@mz-pdm
Copy link
Collaborator

@mz-pdm mz-pdm commented Mar 11, 2026

perror(MESSAGE) formats the output like

MESSAGE: ERROR DESCRIPTION\n

Which means MESSAGE shouldn't end with a newline. Let's remove the newlines.

perror(MESSAGE) formats the output like

  MESSAGE: ERROR DESCRIPTION\n

Which means MESSAGE shouldn't end with a newline.  Let's remove the newlines.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
@jakecorrenti jakecorrenti merged commit 27d9fc8 into containers:main Mar 11, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants