aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-16 21:12:29 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-16 21:12:29 +0000
commit03f13c24a8a9ec87db38b4f319d46dd88e64a508 (patch)
treee9c831443663c18480d55dd59c7b59f46a1d17d2 /fetchmail.c
parent1a1c64589dab9b9ed221a155db0ecc77476ae3da (diff)
downloadfetchmail-03f13c24a8a9ec87db38b4f319d46dd88e64a508.tar.gz
fetchmail-03f13c24a8a9ec87db38b4f319d46dd88e64a508.tar.bz2
fetchmail-03f13c24a8a9ec87db38b4f319d46dd88e64a508.zip
Philippe de Muyter's Motorola fixes.
svn path=/trunk/; revision=781
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}