From: Timo Sirainen Date: Tue, 13 Jul 2010 20:04:11 +0000 (+0100) Subject: rawlog: Don't steal -options from the program that's going to be run. X-Git-Tag: 2.0.rc3~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4574d1c12eec0ff70ac5f3e12f11f7382231289e;p=thirdparty%2Fdovecot%2Fcore.git rawlog: Don't steal -options from the program that's going to be run. --- diff --git a/src/util/rawlog.c b/src/util/rawlog.c index f859d6fbd8..a608a54d31 100644 --- a/src/util/rawlog.c +++ b/src/util/rawlog.c @@ -370,7 +370,7 @@ int main(int argc, char *argv[]) i_set_failure_internal(); process_title_init(&argv); - while ((c = getopt(argc, argv, "iobt")) > 0) { + while ((c = getopt(argc, argv, "+iobt")) > 0) { switch (c) { case 'i': flags &= ~RAWLOG_FLAG_LOG_OUTPUT;