Date: Thu, 23 Jun 2016 09:06:12 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r302137 - stable/10/usr.sbin/cpucontrol Message-ID: <201606230906.u5N96CFl066181@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Jun 23 09:06:11 2016 New Revision: 302137 URL: https://svnweb.freebsd.org/changeset/base/302137 Log: MFC r301963: Return usual error indicator to shell. Modified: stable/10/usr.sbin/cpucontrol/cpucontrol.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sbin/cpucontrol/cpucontrol.c ============================================================================== --- stable/10/usr.sbin/cpucontrol/cpucontrol.c Thu Jun 23 09:04:50 2016 (r302136) +++ stable/10/usr.sbin/cpucontrol/cpucontrol.c Thu Jun 23 09:06:11 2016 (r302137) @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606230906.u5N96CFl066181>