usermod: print "no changes" to stdout, not stderr

Closes #113

Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
Serge Hallyn 2019-04-21 17:28:12 -05:00
parent 2c8171f8c8
commit 5837240451

View File

@ -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);
}