diff options
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -55,6 +55,7 @@ main(int argc, char *argv[]) if (G_UNLIKELY(!gtk_init_with_args(&argc, &argv, "[URI]", entries, NULL, &error))) { g_print("%s: %s\n", PACKAGE, error->message); + return EXIT_FAILURE; } if (G_UNLIKELY(opt_version)) { @@ -67,6 +68,7 @@ main(int argc, char *argv[]) "There is NO WARRANTY, to the extent permitted by " "law.\n\n"); g_print("Please report bugs to <%s>.\n", PACKAGE_BUGREPORT); + return EXIT_SUCCESS; } return EXIT_SUCCESS; |