aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index de258a1c..eedff724 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -307,6 +307,13 @@ char **argv;
{
if (check_only)
return(PS_EXCLUDE);
+ else if (!implicitmode)
+ {
+ fprintf(stderr,
+ "fetchmail: can't poll specified hosts with another fetchmail running at %d.\n",
+ pid);
+ return(PS_EXCLUDE);
+ }
else if (!bkgd)
{
fprintf(stderr,