]> git.cworth.org Git - notmuch/blobdiff - lib/open.cc
Merge tag 'debian/0.32.3-1'
[notmuch] / lib / open.cc
index 7b95c5b151d14f958f7b02341cd3eb27229ab285..280ffee343f91e893a2743683290ea4b41c034ac 100644 (file)
@@ -220,6 +220,10 @@ _choose_database_path (void *ctx,
        }
     }
 
+    if (! *database_path) {
+       *database_path = getenv ("MAILDIR");
+    }
+
     if (! *database_path) {
        notmuch_status_t status;