From 97da60c64e231bdfba163e23cbbe9e52c1550d06 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 12 Dec 2012 10:36:32 +0100 Subject: 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 --- login-utils/chfn.1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'login-utils/chfn.1') diff --git a/login-utils/chfn.1 b/login-utils/chfn.1 index 532940888..5f87ad713 100644 --- a/login-utils/chfn.1 +++ b/login-utils/chfn.1 @@ -72,6 +72,8 @@ Print a usage message and exit. .TP .B "-v, \-\-version" Print version information and exit. +.SH "EXIT STATUS" +Returns 0 if operation was successful, 1 if operation failed or command syntax was not valid. .SH "SEE ALSO" .BR finger (1), .BR passwd (5) -- cgit v1.2.3-55-g7522