]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod.c
Merge commit 'fml/master'
[paraslash.git] / audiod.c
index dab3e3dad7dfffa3ee5733355489b04f1762a6fa..6477c5474b60d83d557bce7239a5ac31451491de 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -1126,10 +1126,10 @@ int main(int argc, char *argv[])
        valid_fd_012();
        audiod_cmdline_parser_ext(argc, argv, &conf, &params);
        HANDLE_VERSION_FLAG("audiod", conf);
-       drop_privileges_or_die(conf.user_arg, conf.group_arg);
-       parse_config_or_die();
        if (conf.help_given || conf.detailed_help_given)
                print_help_and_die();
+       drop_privileges_or_die(conf.user_arg, conf.group_arg);
+       parse_config_or_die();
        daemon_set_flag(DF_LOG_TIME);
        daemon_set_flag(DF_LOG_HOSTNAME);
        daemon_set_flag(DF_LOG_LL);