Allow DEBUG_SH=rc:all to debug all rc.d

Usually a bad idea but there are exceptions to every rule.
Allso debugging all rc.d scripts or all with a given arg.
This commit is contained in:
Simon J. Gerraty 2024-05-21 19:44:20 -07:00
parent 208f11e806
commit dc501a9ec0

View File

@ -1076,7 +1076,7 @@ run_rc_command()
err 3 'run_rc_command: $name is not set.'
fi
DebugOn rc:$name rc:$name:$rc_arg $name:$rc_arg
DebugOn rc:all rc:all:$rc_arg rc:$name rc:$name:$rc_arg $name:$rc_arg
# Don't repeat the first argument when passing additional command-
# line arguments to the command subroutines.