From 03f13c24a8a9ec87db38b4f319d46dd88e64a508 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 16 Jan 1997 21:12:29 +0000 Subject: Philippe de Muyter's Motorola fixes. svn path=/trunk/; revision=781 --- fetchmail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 728f7d61..1f090146 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -199,7 +199,7 @@ int main (int argc, char **argv) fprintf(stderr,"fetchmail: removing stale lockfile\n"); pid = -1; bkgd = FALSE; - remove(lockfile); + unlink(lockfile); } fclose(lockfp); } @@ -222,7 +222,7 @@ int main (int argc, char **argv) { fprintf(stderr,"fetchmail: %s fetchmail at %d killed.\n", bkgd ? "background" : "foreground", pid); - remove(lockfile); + unlink(lockfile); exit(0); } } -- cgit v1.2.3