[Bug 225173] sysutils/devcpu-data broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 15 16:56:46 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225173

Richard Gallamore <ultima at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ultima at freebsd.org

--- Comment #4 from Richard Gallamore <ultima at freebsd.org> ---
> CPUCONTROL_UPDATED=$(cpucontrol -h 2>&1 | grep -q -- -e; echo $?)
> if [ ${CPUCONTROL_UPDATED} -ne 0 ]; then

Could be changed to this.

if ! cpucontrol -h 2>&1 | grep -q -- -e; then


> ${CMT} -e /dev/cpuctl0 >/dev/null 2>&1
> if [ $? -ne 0 ]; then

if ! ${CMT} -e /dev/cpuctl0 >/dev/null 2<&1; then

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list