diff options
author | kib <kib@FreeBSD.org> | 2016-06-16 12:08:25 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-06-16 12:08:25 +0000 |
commit | d0d7e727496e6a6d4706547ce822aefe41834242 (patch) | |
tree | ffc00d014f3baadc2ecd8da839f59d391d00f318 /usr.sbin | |
parent | 3b7087fccea8083cf8a2ef2575fabccde9af31e1 (diff) | |
download | FreeBSD-src-d0d7e727496e6a6d4706547ce822aefe41834242.zip FreeBSD-src-d0d7e727496e6a6d4706547ce822aefe41834242.tar.gz |
Return usual error indicator to shell.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (hrs)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/cpucontrol/cpucontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/cpucontrol/cpucontrol.c b/usr.sbin/cpucontrol/cpucontrol.c index 69fdf3a..504ac50 100644 --- a/usr.sbin/cpucontrol/cpucontrol.c +++ b/usr.sbin/cpucontrol/cpucontrol.c @@ -481,5 +481,5 @@ main(int argc, char *argv[]) usage(); /* Only one command can be selected. */ } SLIST_FREE(&datadirs, next, free); - return (error); + return (error == 0 ? 0 : 1); } |