X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=fade.c;h=e6f550a1c94d37806b28b25b8ac17bf5b7bd10ed;hb=b01605d7062e4d1f005d5aaaaed158d8efe06d79;hp=fee8f8ca2af34ca8aef421ede07fc8f00763ab7b;hpb=f652ce6afe7f6fd0e42814505234cbf4321a736e;p=paraslash.git diff --git a/fade.c b/fade.c index fee8f8ca..e6f550a1 100644 --- a/fade.c +++ b/fade.c @@ -292,9 +292,9 @@ int main(int argc, char *argv[]) struct mixer *m; struct mixer_handle *h = NULL; - if (fade_cmdline_parser(argc, argv, &conf)) - exit(EXIT_FAILURE); + fade_cmdline_parser(argc, argv, &conf); HANDLE_VERSION_FLAG("fade", conf); + loglevel = get_loglevel_by_name(conf.loglevel_arg); ret = configfile_exists(); if (!ret && conf.config_file_given) { PARA_EMERG_LOG("can not read config file %s\n", @@ -311,8 +311,8 @@ int main(int argc, char *argv[]) }; fade_cmdline_parser_config_file(conf.config_file_arg, &conf, ¶ms); + loglevel = get_loglevel_by_name(conf.loglevel_arg); } - loglevel = get_loglevel_by_name(conf.loglevel_arg); init_mixers(); m = get_mixer_or_die(); ret = m->open(conf.mixer_device_arg, &h);