rc.subr(8): delete debug cpuset helper

Summary:
The intention of the original author (I assume) was to add this logic
for testing. This removes the debug statement so it no longer shows up
in calls to `status`.

MFC after:	2 weeks
MFC with:	0661f9389

Reviewers: kevans

Subscribers: imp

Differential Revision: https://reviews.freebsd.org/D40055
This commit is contained in:
Enji Cooper 2023-05-10 22:47:09 -07:00
parent d1c8420702
commit 46f35bf28d

View file

@ -1127,11 +1127,6 @@ run_rc_command()
_run_rc_precmd || return 1
if [ -n "$rc_pid" ]; then
echo "${name} is running as pid $rc_pid."
# for cpuset debug only, not committable (cut)
if [ -n "$_cpuset" -a -x $CPUSET ]; then
echo -n "on CPU(s)"
$CPUSET -g -p "$rc_pid" | cut -s -d: -f 2
fi
else
echo "${name} is not running."
return 1