Fix path to rabbitmqctl and clarify comment

(imported from commit 3a9a9c718db3e6221b4073b122f301fb85be6be3)
This commit is contained in:
Leo Franchi 2013-02-19 15:34:19 -05:00
parent 382c4120ef
commit 4155e1e918

View file

@ -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