From 48fc00c1c70f3dbbd8ad6ef423bbba27dd3efb69 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 5 Mar 2014 11:06:59 +0100 Subject: chcpu: cleanup return codes The code currently always return EXIT_SUCCESS, that's strange. It seems better to return 0 on success, 1 on complete failure and 64 on partial success. Signed-off-by: Karel Zak --- sys-utils/chcpu.8 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'sys-utils/chcpu.8') diff --git a/sys-utils/chcpu.8 b/sys-utils/chcpu.8 index c7555cc2c..c3ce86c3c 100644 --- a/sys-utils/chcpu.8 +++ b/sys-utils/chcpu.8 @@ -80,6 +80,20 @@ Display help text and exit. .TP .BR \-V , " \-\-version" Display version information and exit. + +.SH RETURN CODES +.B chcpu +has the following return codes: +.TP +.BR 0 +success +.TP +.BR 1 +failure +.TP +.BR 64 +partial success +.RE .SH AUTHOR .MT heiko.carstens@de.ibm.com Heiko Carstens -- cgit v1.2.3-55-g7522