From 46f35bf28d0af08ff799167f77967a3d07564f75 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Wed, 10 May 2023 22:47:09 -0700 Subject: [PATCH] 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 --- libexec/rc/rc.subr | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index b2a7f45ccd4..6a7f070f7f5 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