diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2014-07-02 13:37:23 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2014-07-02 13:37:23 +0100 |
commit | e56694821380961aec0e55258ac343320f5050a3 (patch) | |
tree | 87b4a474ee55bcadf76467166ae4efd2d9f31c32 /byteback-backup | |
parent | 1b0f1e1fcd32df9f475307a86ad79460d983e58c (diff) | |
parent | 4ce8b13d4e900698e30b797780fe7a971db57df5 (diff) |
Merge branch 'master' of ssh://dev/home/git/byteback
Diffstat (limited to 'byteback-backup')
-rwxr-xr-x | byteback-backup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byteback-backup b/byteback-backup index 346dd5d..b5050bc 100755 --- a/byteback-backup +++ b/byteback-backup @@ -107,7 +107,7 @@ rescue => err end # Check the lockfile first -if Dir.exists?(File.dirname(@lockfile)) +if File.directory?(File.dirname(@lockfile)) if File.exists? @lockfile # check the lockfile is sane exist_pid = File.read(@lockfile).to_i |