diff options
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |