aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-11-26 18:20:29 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-11-26 18:20:29 +0000
commita0d93172bf6a7a98add8296739ad12bb0054bece (patch)
tree0d57654db668d0cb025169426e51392e0c3bd9ec /fetchmail.c
parent8f9f656c2ad67cc7fccc8a70e13b35924308494a (diff)
downloadfetchmail-a0d93172bf6a7a98add8296739ad12bb0054bece.tar.gz
fetchmail-a0d93172bf6a7a98add8296739ad12bb0054bece.tar.bz2
fetchmail-a0d93172bf6a7a98add8296739ad12bb0054bece.zip
Ready to ship a gold version.
svn path=/trunk/; revision=2987
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c5
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