]> git.cworth.org Git - notmuch/blobdiff - notmuch.c
CLI: exit with error when load_config returns an error.
[notmuch] / notmuch.c
index 37286b8f491af6428c0d22c3222a01f85039a369..69a181319315261408a93d0d44935fe2084ac374 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -584,6 +584,8 @@ main (int argc, char *argv[])
        case NOTMUCH_STATUS_SUCCESS:
            break;
        default:
+           fputs ("Error: unable to load config file.\n", stderr);
+           ret = 1;
            goto DONE;
        }