]> git.ipfire.org Git - thirdparty/util-linux.git/commit
chfn: clean up exit status
authorKarel Zak <kzak@redhat.com>
Wed, 12 Dec 2012 09:36:32 +0000 (10:36 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 12 Dec 2012 09:36:32 +0000 (10:36 +0100)
commit97da60c64e231bdfba163e23cbbe9e52c1550d06
tree29ae041f7b253e097723dc954773eafebb56c542
parent72c9217951b7dd317a5d903d88291a9e87297969
chfn: clean up exit status

The old version in some cases (but not always) returns -1 (255) on
error. It seems better to cleanup the code and don't return internal
return codes by exit().

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/chfn.1
login-utils/chfn.c