summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cpucontrol/cpucontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/cpucontrol/cpucontrol.c')
-rw-r--r--usr.sbin/cpucontrol/cpucontrol.c2
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);
}
OpenPOWER on IntegriCloud