lib/bunnish/command/status.rb in bunnish-0.0.6 vs lib/bunnish/command/status.rb in bunnish-0.0.7
- old
+ new
@@ -19,10 +19,10 @@
queue_name_list = argv.shift
if queue_name_list.nil?
Bunnish.logger.error("queue-name is not set")
- return 1
+ return 0
end
queue_name_list = queue_name_list.split(/[, \r\n]/)
queue_name_list.delete('')
\ No newline at end of file