diff options
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c index 8438c42e..b0c0f925 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -268,6 +268,13 @@ int main (int argc, char **argv) pid); return(PS_EXCLUDE); } + else if (argc > 1) + { + fprintf(stderr, + "fetchmail: can't accept options while a background fetchmail is running.\n", + pid); + return(PS_EXCLUDE); + } else if (kill(pid, SIGUSR1) == 0) { fprintf(stderr, |