]> git.ipfire.org Git - thirdparty/shadow.git/commit
src/usermod.c: Remove 'no changes' informative output
authorAlejandro Colomar <alx@kernel.org>
Wed, 15 Oct 2025 16:01:14 +0000 (18:01 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Thu, 16 Oct 2025 07:37:30 +0000 (09:37 +0200)
commite5f37f3e4bc250430e22c8aeeea11f024c086b86
tree8248d507264151869a2a3cb94c184aae23b9742e
parent3ea6df885d42a5acab9f641416daa5b06972eefd
src/usermod.c: Remove 'no changes' informative output

No news is good news.

Debian needs to parse this message to ignore it, or alternatively check
if the call will be a no-op (which we already do) and skip the call.
If we remove this output, we're allowing Debian to remove that
complexity in their wrapper.

We don't expect this output to be very useful for interactive use
either.

Also, this message was changed from stderr to stdout recently, so we
don't need to worry about old scripts that might break due to this
change.  If there were scripts relying on that, they would have been
broken already in the previous change.

Closes: <https://github.com/shadow-maint/shadow/issues/1361>
Reported-by: Marc Haber <githubvisible@zugschlus.de>
Cc: <https://github.com/cachius>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/usermod.c