summaryrefslogtreecommitdiff
path: root/completions/rrdtool
diff options
context:
space:
mode:
Diffstat (limited to 'completions/rrdtool')
-rw-r--r--completions/rrdtool2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/rrdtool b/completions/rrdtool
index 9280d8f5..8170c9fe 100644
--- a/completions/rrdtool
+++ b/completions/rrdtool
@@ -5,7 +5,7 @@ _rrdtool ()
local cur prev words cword
_init_completion || return
- if [ ${#words[@]} -eq 2 ]; then
+ if [[ ${#words[@]} -eq 2 ]]; then
COMPREPLY=( $( compgen -W 'create update updatev graph dump restore \
last lastupdate first info fetch tune resize xport' -- "$cur" ) )
else