diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-03-17 11:00:14 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-03-17 11:18:07 +0200 |
commit | c0535e8ecce439972c58c87a926e1ddad1c32ad4 (patch) | |
tree | 83702e527702263f86510a1bd36fa619e063ec0d /src/main.c | |
parent | 3cb8a6a90cc336d773110a250a7a38a0ac2b2514 (diff) | |
download | mailfromd-c0535e8ecce439972c58c87a926e1ddad1c32ad4.tar.gz mailfromd-c0535e8ecce439972c58c87a926e1ddad1c32ad4.tar.bz2 |
Improve interaction with mtasim.
Jan Rafaj reported that the use of mtasim -Xauto may result in
the subordinate mailfromd removing the UNIX communication sockets
of the main running process. This can happen if: (1) there is
a mailfromd process running on the box where mtasim is run and
(2) the user does not supply --no-site-config option to the subordinate.
* src/main.c (parse_opt) <OPTION_MTASIM>: Inhibit
loading of the default configuration files.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -625,6 +625,8 @@ parse_opt(int key, char *arg, struct argp_state *state) case OPTION_MTASIM: mtasim_option = 1; server_flags |= MF_SERVER_FOREGROUND; + mu_load_site_rcfile = 0; + mu_load_user_rcfile = 0; break; case OPTION_SHOW_DEFAULTS: |