[lttng-dev] [PATCH] Use correct variable in list bash autocompletion

Yannick Brosseau yannick.brosseau at gmail.com
Tue Jan 24 13:44:01 EST 2012


Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
---
 extras/lttng-bash_completion |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/lttng-bash_completion b/extras/lttng-bash_completion
index 00ac17e..ac57e4d 100644
--- a/extras/lttng-bash_completion
+++ b/extras/lttng-bash_completion
@@ -171,7 +171,7 @@ _lttng_cmd_disable_event() {
 
 _lttng_cmd_list() {
 	local list_opts
-	disable_channel_opts=$(lttng list --list-options)
+	list_opts=$(lttng list --list-options)
 
 	case $prev in
 	--channel|-c)
-- 
1.7.8.3




More information about the lttng-dev mailing list