From a0d93172bf6a7a98add8296739ad12bb0054bece Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 26 Nov 2000 18:20:29 +0000 Subject: Ready to ship a gold version. svn path=/trunk/; revision=2987 --- fetchmail.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index c9ce7bb8..33bed685 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -586,6 +586,11 @@ int main(int argc, char **argv) close(st); /* should be safe, fd was opened with O_SYNC */ lock_acquired = TRUE; } + else + { + fprintf(stderr, _("fetchmail: lock creation failed.\n")); + return(PS_EXCLUDE); + } /* * Query all hosts. If there's only one, the error return will -- cgit v1.2.3