usermod: print "no changes" to stdout, not stderr
Closes #113 Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
parent
2c8171f8c8
commit
5837240451
@ -1368,7 +1368,7 @@ static void process_flags (int argc, char **argv)
|
|||||||
|| Zflg
|
|| Zflg
|
||||||
#endif /* WITH_SELINUX */
|
#endif /* WITH_SELINUX */
|
||||||
)) {
|
)) {
|
||||||
fprintf (stderr, _("%s: no changes\n"), Prog);
|
fprintf (stdout, _("%s: no changes\n"), Prog);
|
||||||
exit (E_SUCCESS);
|
exit (E_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user