diff options
author | kib <kib@FreeBSD.org> | 2016-06-23 09:06:11 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-06-23 09:06:11 +0000 |
commit | 369966d04f9eb782f09bb1610d1ddf97f70eebe8 (patch) | |
tree | beca250b89e620a61468cf1316fe08a9b6dfa197 /usr.sbin/cpucontrol | |
parent | 12d1906c2b0f60ccb7f9480833554ca5ea7e674e (diff) | |
download | FreeBSD-src-369966d04f9eb782f09bb1610d1ddf97f70eebe8.zip FreeBSD-src-369966d04f9eb782f09bb1610d1ddf97f70eebe8.tar.gz |
MFC r301963:
Return usual error indicator to shell.
Diffstat (limited to 'usr.sbin/cpucontrol')
-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); } |