X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=filter.c;h=99b12217b8cc1e701c428928478a03a00ccd0c74;hp=4113690439184012724c33908ae535e23c29b12a;hb=6f5030f4b257aba7ea4265ef3ae35d96477bbfc3;hpb=a37e903213215dd36b11bbde4ea98e1d4590a472 diff --git a/filter.c b/filter.c index 41136904..99b12217 100644 --- a/filter.c +++ b/filter.c @@ -122,6 +122,7 @@ static int parse_config(int argc, char *argv[]) HANDLE_VERSION_FLAG("filter", conf); if (conf.help_given || conf.detailed_help_given) print_help_and_die(); + loglevel = get_loglevel_by_name(conf.loglevel_arg); if (!cf) { char *home = para_homedir(); cf = make_message("%s/.paraslash/filter.conf", home); @@ -164,7 +165,6 @@ int main(int argc, char *argv[]) ret = parse_config(argc, argv); if (ret < 0) goto out; - loglevel = get_loglevel_by_name(conf.loglevel_arg); ret = init_filter_chain(); if (ret < 0) goto out;