This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b751d2  fix syntax error and break out of loop
9b751d2 is described below

commit 9b751d23b0732d56a49a0104b53c1bd5ea675d0f
Author: Sam Ruby <[email protected]>
AuthorDate: Wed Jun 7 15:25:06 2017 -0400

    fix syntax error and break out of loop
---
 tools/pubsub.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/pubsub.rb b/tools/pubsub.rb
index 38990e9..131ffe2 100644
--- a/tools/pubsub.rb
+++ b/tools/pubsub.rb
@@ -47,7 +47,7 @@ optionparser = OptionParser.new do |opts|
     options.daemonize = true
   end
 
-  opts.on ''--puppet', "Use puppet agent to update" do
+  opts.on '--puppet', "Use puppet agent to update" do
     options.puppet = true
   end
 
@@ -196,7 +196,7 @@ begin
         end
       end
     end
-    next if mtime != File.mtime(__FILE__)
+    break if mtime != File.mtime(__FILE__)
   end
 rescue SignalException => e
   STDERR.puts e

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to