diff options
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index 4730e1e7..fea23f37 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -131,7 +131,7 @@ int main (int argc, char **argv) /* set up to do lock protocol */ if (!getuid()) - strcpy(tmpbuf, "/var/run/fetchmail.pid"); + sprintf(tmpbuf, "%s/fetchmail.pid", PID_DIR); else { strcpy(tmpbuf, home); strcat(tmpbuf, "/.fetchmail"); |