diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/bash_completion.d/20vyatta-cfg | 4 |
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 $@ } |