From: Timo Sirainen Date: Sat, 10 Mar 2012 13:07:23 +0000 (+0200) Subject: doveadm config: Don't fail on invalid config (e.g. plugin not found) X-Git-Tag: 2.1.2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f896df28bbb7751c6d77219cb6675fa091d3c7a;p=thirdparty%2Fdovecot%2Fcore.git doveadm config: Don't fail on invalid config (e.g. plugin not found) This command is often used in init scripts and such to stop/restart Dovecot. --- diff --git a/src/doveadm/doveadm.c b/src/doveadm/doveadm.c index 092b1e4494..5a93e5b96a 100644 --- a/src/doveadm/doveadm.c +++ b/src/doveadm/doveadm.c @@ -331,6 +331,7 @@ int main(int argc, char *argv[]) doveadm_register_cmd(doveadm_commands[i]); if (cmd_name != NULL && (quick_init || + strcmp(cmd_name, "config") == 0 || strcmp(cmd_name, "stop") == 0 || strcmp(cmd_name, "reload") == 0)) { /* special case commands: even if there is something wrong