diff options
author | Joerg Jaspert <joerg@debian.org> | 2010-01-01 22:55:26 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2010-01-01 22:57:57 +0100 |
commit | c7696b5c7b2e9f033536e57b6cf2beee281ec5bf (patch) | |
tree | 5fd286b87fcffc0db1f90eed315121f32ba91649 /log | |
parent | dd604ee0d2ad2a6d06aed3171fddabbd3865245b (diff) |
ftpsync locking
have three ways of locking, depending on the bash version
old bash (older than 4 :) ) does not have BASHPID variable, nor a
good way to find the pid of a backgrounded subshell. so if we have
old bash, go the way of guessing if its still running, by comparing
the age of the LOCK file or by taking our proc/self target as pid
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'log')
0 files changed, 0 insertions, 0 deletions