Skip to content

Commit

Permalink
doveadm: Fixed reading USER environment for v1 commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Mar 29, 2016
1 parent 593b096 commit b32d195
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/doveadm/doveadm-mail.c
Expand Up @@ -635,6 +635,7 @@ doveadm_mail_cmd(const struct doveadm_mail_cmd *cmd, int argc, char *argv[])
ctx = doveadm_mail_cmdline_init(cmd);
ctx->full_args = (const void *)(argv + 1);
ctx->cli = TRUE;
ctx->cur_username = getenv("USER");

getopt_args = "AF:S:u:";
/* keep context's getopt_args first in case it contains '+' */
Expand Down

0 comments on commit b32d195

Please sign in to comment.