aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-07 01:16:05 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-07 01:16:05 +0000
commit0ad6312ee5da744b9d38ae8153d15dbb8cb6c4af (patch)
tree07a025ccd7299b8468d047febca6b68c18ad0279 /fetchmail.c
parent6a2845a13efa8e77d24df2347b0c2f381b344583 (diff)
downloadfetchmail-0ad6312ee5da744b9d38ae8153d15dbb8cb6c4af.tar.gz
fetchmail-0ad6312ee5da744b9d38ae8153d15dbb8cb6c4af.tar.bz2
fetchmail-0ad6312ee5da744b9d38ae8153d15dbb8cb6c4af.zip
Added an error message.
svn path=/trunk/; revision=614
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,