]> git.ipfire.org Git - thirdparty/util-linux.git/commit
chcpu: cleanup return codes
authorKarel Zak <kzak@redhat.com>
Wed, 5 Mar 2014 10:06:59 +0000 (11:06 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Mar 2014 10:06:59 +0000 (11:06 +0100)
commit48fc00c1c70f3dbbd8ad6ef423bbba27dd3efb69
treefa149384b5c9500db1c2e38a309d1e66d4f5d27c
parentdbf7043ea1d090d283cfd36280bb14189d8e35b1
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 <kzak@redhat.com>
sys-utils/chcpu.8
sys-utils/chcpu.c