]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
rawlog: Don't steal -options from the program that's going to be run.
authorTimo Sirainen <tss@iki.fi>
Tue, 13 Jul 2010 20:04:11 +0000 (21:04 +0100)
committerTimo Sirainen <tss@iki.fi>
Tue, 13 Jul 2010 20:04:11 +0000 (21:04 +0100)
src/util/rawlog.c

index f859d6fbd8a9d3082471d7d7b2315764927bca84..a608a54d31c2d4758fae118ccf8e32eb524fa4f3 100644 (file)
@@ -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;