summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bash_completion.d')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 369ef7a..5589d69 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -333,6 +333,10 @@ exit ()
# run op mode commands
run ()
{
+ if [ $# == 0 ]; then
+ echo Incomplete command
+ return 1
+ fi
_vyatta_op_run $@
}