From: Serge Hallyn Date: Sun, 21 Apr 2019 22:28:12 +0000 (-0500) Subject: usermod: print "no changes" to stdout, not stderr X-Git-Tag: 4.7~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5837240451df520ed77c889c76f6040391371e32;p=shadow usermod: print "no changes" to stdout, not stderr Closes #113 Signed-off-by: Serge Hallyn --- diff --git a/src/usermod.c b/src/usermod.c index 68775272..cc77c0a8 100644 --- a/src/usermod.c +++ b/src/usermod.c @@ -1368,7 +1368,7 @@ static void process_flags (int argc, char **argv) || Zflg #endif /* WITH_SELINUX */ )) { - fprintf (stderr, _("%s: no changes\n"), Prog); + fprintf (stdout, _("%s: no changes\n"), Prog); exit (E_SUCCESS); }