X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=lock.h;h=27f63cf0599396f64a59b9778cb3cf268975d024;hb=91644ff0b2e6eb3b26c5544a4a769ca4aaf08a14;hp=66b2c36fc09a5ae6155d1eb9e8baa51db250b11e;hpb=35a58f784af38c9390158f1285d40c1e53baa884;p=~andy%2Ffetchmail diff --git a/lock.h b/lock.h index 66b2c36f..27f63cf0 100644 --- a/lock.h +++ b/lock.h @@ -22,7 +22,8 @@ void fm_lock_release(void); /** Check the state of the lock file. If there is an error opening or * reading the lockfile, exit with PS_EXCLUDE. If a stale lock file - * cannot be unlinked, complain, but continue. \return + * cannot be unlinked, complain and try to truncate it to 0 size. If + * truncation fails, complain and exit with PS_EXCLUDE. \return * - 0 if no lock is set * - >0 if a fetchmail is running, but not in daemon mode * - <0 if a fetchmail is running in daemon mode.