diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2019-09-28 11:23:50 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2019-09-28 11:25:40 +0200 |
commit | b27a75cd05b681bbdd95396b2874303d6fed4ae0 (patch) | |
tree | 26928d947a780e2ecbc8a3525dfeafdd8d8eb6a8 /lock.c | |
parent | 90f5c8459868840a591cb93fa88867705c0e7b24 (diff) | |
download | fetchmail-b27a75cd05b681bbdd95396b2874303d6fed4ae0.tar.gz fetchmail-b27a75cd05b681bbdd95396b2874303d6fed4ae0.tar.bz2 fetchmail-b27a75cd05b681bbdd95396b2874303d6fed4ae0.zip |
6.4.1, regression fix for default file locations.
The fix between 6.4.0-rc4 and 6.4.0 for Debian Bug#941129 caused
a regression in the default file locations, some files were looked
for without dot (.fetchmail.pid, .fetchmailrc).
Reported by Cy Schubert.
Diffstat (limited to 'lock.c')
-rw-r--r-- | lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ void fm_lock_setup(struct runctl *ctl) + strlen(FETCHMAIL_PIDFILE) + 3); /* 3: "/", "." and NUL */ strcpy(lockfile, fmhome); strcat(lockfile, "/"); - if (fmhome == home) + if (at_home) strcat(lockfile, "."); strcat(lockfile, FETCHMAIL_PIDFILE); } |