aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2023-05-11 05:47:09 +0000
committerEnji Cooper <ngie@FreeBSD.org>2023-05-13 02:50:00 +0000
commit46f35bf28d0af08ff799167f77967a3d07564f75 (patch)
treebd403558f71b11eb03ba94288803e6c3469a0e62
parentd1c8420702b7ad118ca909e9f7f39af8a6358e73 (diff)
downloadsrc-46f35bf28d0af08ff799167f77967a3d07564f75.tar.gz
src-46f35bf28d0af08ff799167f77967a3d07564f75.zip
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
-rw-r--r--libexec/rc/rc.subr5
1 files changed, 0 insertions, 5 deletions
diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr
index b2a7f45ccd4d..6a7f070f7f5b 100644
--- a/libexec/rc/rc.subr
+++ b/libexec/rc/rc.subr
@@ -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