diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 0d7cbf1ed..952e6d1fe 100644 --- a/src/main.c +++ b/src/main.c @@ -295,7 +295,12 @@ int main(int argc, char *argv[]) tag_pool_init(); config_global_init(); - parse_cmdline(argc, argv, &options); + success = parse_cmdline(argc, argv, &options, &error); + if (!success) { + g_warning("%s", error->message); + g_error_free(error); + return EXIT_FAILURE; + } glue_daemonize_init(&options); |