lib/helpers.rb in encbs-0.2.1 vs lib/helpers.rb in encbs-0.2.2
- old
+ new
@@ -32,10 +32,10 @@
end
end
def create_lock
open("/tmp/encbs.lock", "w") do |f|
- f.puts Process.pid
+ f.print Process.pid
end
end
def remove_lock
FileUtils.rm "/tmp/encbs.lock" if File.exists? "/tmp/encbs.lock"