From 9024f71b487dc55b25dbacb7aa968d8002c840fd Mon Sep 17 00:00:00 2001 From: Matthew Bloch Date: Mon, 24 Nov 2014 16:29:26 +0000 Subject: Finished 6c945d3a9399639bfa9119c26d7dab6238f15543 properly (/var/run -> /var/lock). --- lib/byteback/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/byteback/util.rb b/lib/byteback/util.rb index f6b2b61..391e051 100644 --- a/lib/byteback/util.rb +++ b/lib/byteback/util.rb @@ -43,7 +43,7 @@ module Byteback end def lock_out_other_processes(name) - @@lockfile = "/var/run/byteback/#{name}.lock" + @@lockfile = "/var/lock/byteback/#{name}.lock" claim_lockfile! at_exit { remove_lockfile! } end -- cgit v1.2.1