about summary refs log tree commit diff
path: root/Completion/User/_mount
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_mount')
-rw-r--r--Completion/User/_mount2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_mount b/Completion/User/_mount
index 50fa769b2..cbd762583 100644
--- a/Completion/User/_mount
+++ b/Completion/User/_mount
@@ -368,7 +368,7 @@ if (( ! $+_fs_any )); then
   esac
 fi
 
-if [[ "${words[1]:t}" = mount ]]; then
+if [[ "$service" = mount ]]; then
 
   # Here are the tests and tables for the arguments and options for
   # the `mount' program. The `fss' array has to be set to the names