parent
838f22259a
commit
f4334e9bdf
|
|
@ -1060,7 +1060,7 @@ if ! command -v pidof >/dev/null 2>/dev/null; then
|
||||||
debug_on
|
debug_on
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_exe=$(type -P "$1")
|
_exe=$(command -v "$1")
|
||||||
for i in /proc/*/exe; do
|
for i in /proc/*/exe; do
|
||||||
[ -e "$i" ] || continue
|
[ -e "$i" ] || continue
|
||||||
if [ -n "$_exe" ]; then
|
if [ -n "$_exe" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue