From 4155e1e918022f592f61061d89669a36e122c7b0 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Tue, 19 Feb 2013 15:34:19 -0500 Subject: [PATCH] Fix path to rabbitmqctl and clarify comment (imported from commit 3a9a9c718db3e6221b4073b122f301fb85be6be3) --- bots/check-rabbitmq-queue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/check-rabbitmq-queue b/bots/check-rabbitmq-queue index ca2787a..c0a515a 100755 --- a/bots/check-rabbitmq-queue +++ b/bots/check-rabbitmq-queue @@ -31,7 +31,7 @@ def check_output(*popenargs, **kwargs): subprocess.check_output = check_output re = re.compile(r'(\w+)\t(\d+)') -output = subprocess.check_output(['rabbitmqctl', 'list_queues'], shell=False) +output = subprocess.check_output(['/usr/sbin/rabbitmqctl', 'list_queues'], shell=False) status = 0 max_count = 0