about summary refs log tree commit diff
path: root/Completion/compaudit
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/compaudit')
-rw-r--r--Completion/compaudit2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/compaudit b/Completion/compaudit
index 75742a0fb..00125e4db 100644
--- a/Completion/compaudit
+++ b/Completion/compaudit
@@ -101,7 +101,7 @@ for _i_exe in $_i_exes; do
   if [[ -e $_i_exe ]] ;then
     if zmodload -F zsh/stat b:zstat 2>/dev/null; then
       local -A _i_stathash
-      if zstat -H _i_stathash /proc/$$/exe &&
+      if zstat -H _i_stathash $_i_exe &&
 	[[ $_i_stathash[uid] -ne 0 ]]; then
 	_i_owners+="u${_i_stathash[uid]}"
       fi