Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2018 16:56:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225173] sysutils/devcpu-data broken
Message-ID:  <bug-225173-13-6PTdFcfVtU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225173-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225173-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225173

Richard Gallamore <ultima@freebsd.org> changed:

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

--- Comment #4 from Richard Gallamore <ultima@freebsd.org> ---
> CPUCONTROL_UPDATED=3D$(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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225173-13-6PTdFcfVtU>