summaryrefslogtreecommitdiffstats
path: root/completions/check_db
diff options
context:
space:
mode:
Diffstat (limited to 'completions/check_db')
-rw-r--r--completions/check_db2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/check_db b/completions/check_db
index 6480a11..851829e 100644
--- a/completions/check_db
+++ b/completions/check_db
@@ -10,7 +10,7 @@ _comp_cmd_check_db()
else
# Prefer `list_lists` in the same dir as command
local pathcmd
- pathcmd=$(type -P "$1") && local PATH=${pathcmd%/*}:$PATH
+ pathcmd=$(type -P -- "$1") && local PATH=${pathcmd%/*}:$PATH
_comp_compgen -x list_lists mailman_lists
fi