summaryrefslogtreecommitdiff
path: root/bin/custodian-enqueue
diff options
context:
space:
mode:
Diffstat (limited to 'bin/custodian-enqueue')
-rwxr-xr-xbin/custodian-enqueue6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/custodian-enqueue b/bin/custodian-enqueue
index 568c0d6..b1be84d 100755
--- a/bin/custodian-enqueue
+++ b/bin/custodian-enqueue
@@ -131,7 +131,7 @@ if __FILE__ == $PROGRAM_NAME then
#
settings = Custodian::Settings.instance
queue = Custodian::QueueType.create( settings.queue_type )
- if ( ! queue )
+ if ! queue
puts "Failed to connect to the #{settings.queue_type} queue"
exit 1
end
@@ -157,9 +157,9 @@ if __FILE__ == $PROGRAM_NAME then
mon.jobs.each do |test|
- if ( ENV['TEST'] )
+ if ENV['TEST']
# nop
- elsif ( ENV['DUMP'] )
+ elsif ENV['DUMP']
puts test
else
queue.add( test.to_s )