aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index a560efbe..9d64f963 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -222,7 +222,11 @@ int main (int argc, char **argv)
if (pid != -1)
{
if (check_only)
+ {
+ fprintf(stderr,
+ "fetchmail: can't check mail while another fetchmail to same host is running.");
return(PS_EXCLUDE);
+ }
else if (!implicitmode)
{
fprintf(stderr,