diff options
Diffstat (limited to 'notmuch-show.c')
-rw-r--r-- | notmuch-show.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/notmuch-show.c b/notmuch-show.c index a21d223c..a764e443 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -220,7 +220,8 @@ notmuch_show_command (void *ctx, unused (int argc), unused (char *argv[])) return 1; } - notmuch = notmuch_database_open (notmuch_config_get_database_path (config)); + notmuch = notmuch_database_open (notmuch_config_get_database_path (config), + NOTMUCH_DATABASE_MODE_READONLY); if (notmuch == NULL) return 1; |