Allow the process name to be in square brackets ([]) in _find_processes().

PR:		conf/82430
Submitted by:	Pavel Volkov pol at iib dot ru
MFC after:	1 week
This commit is contained in:
John Baldwin 2005-10-17 19:01:53 +00:00
parent 05490142bb
commit 2e169ae820
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151426

View File

@ -267,7 +267,7 @@ _find_processes()
_procnamebn=${_procname##*/}
_fp_args='_arg0 _argv'
_fp_match='case "$_arg0" in
$_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})")'
$_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})"|"[${_procnamebn}]")'
fi
_proccheck='