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

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='