summaryrefslogtreecommitdiff
path: root/completions/rpcdebug
diff options
context:
space:
mode:
Diffstat (limited to 'completions/rpcdebug')
-rw-r--r--completions/rpcdebug2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/rpcdebug b/completions/rpcdebug
index 6d4acf52..3501af13 100644
--- a/completions/rpcdebug
+++ b/completions/rpcdebug
@@ -11,7 +11,7 @@ _rpcdebug_flags()
fi
done
- if [ -n "$module" ]; then
+ if [[ -n $module ]]; then
COMPREPLY=( $( compgen -W "$( rpcdebug -vh 2>&1 | \
sed -ne 's/^'$module'[[:space:]]\{1,\}//p' )" -- "$cur" ) )
fi