diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-19 02:54:37 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-19 02:54:37 +0000 |
commit | ed181f4aa1bfd899d57b0d00849346262003024b (patch) | |
tree | 14f2fbd89c9415a9c6f17f96da3ca6afa687a3e8 | |
parent | 4eef2d4288ed64ec45630e99dadb292243bba3d9 (diff) | |
download | fetchmail-ed181f4aa1bfd899d57b0d00849346262003024b.tar.gz fetchmail-ed181f4aa1bfd899d57b0d00849346262003024b.tar.bz2 fetchmail-ed181f4aa1bfd899d57b0d00849346262003024b.zip |
Don't allow a fetchmail with arguments to wake up a daemon.
svn path=/trunk/; revision=349
-rw-r--r-- | fetchmail.c | 7 |
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, |