static char *cf; /* config file */
struct stat statbuf;
- if (filter_cmdline_parser(argc, argv, &conf))
- return -E_FILTER_SYNTAX;
+ filter_cmdline_parser(argc, argv, &conf);
HANDLE_VERSION_FLAG("filter", conf);
if (conf.help_given || conf.detailed_help_given)
print_help_and_die();
.check_ambiguity = 0,
.print_errors = 1
};
- if (filter_cmdline_parser_config_file(cf, &conf, ¶ms))
- return -E_FILTER_SYNTAX;
+ filter_cmdline_parser_config_file(cf, &conf, ¶ms);
}
if (!conf.filter_given)
return -E_NO_FILTERS;
EMBRACE(.name = f->name, .parent = parent,
.handler = f->execute, .context = fn));
fn->task.pre_select = f->pre_select;
- if (f->new_post_select) {
- fn->task.new_post_select = f->new_post_select;
- fn->task.post_select = NULL;
- } else {
- fn->task.new_post_select = NULL;
- fn->task.post_select = f->post_select;
- }
+ fn->task.post_select = f->post_select;
f->open(fn);
register_task(&s, &fn->task);
parent = fn->btrn;