X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=484d94623fa13fb1b456a185e1f1eecc5133bfea;hp=44b50aaa2c49ceea06825abea39256790f2c1a5d;hb=af8664689ac66b2ee79c904c6483f1172768da39;hpb=e2dd4ac00b9979de34bd517fa57de56260d38755 diff --git a/notmuch-new.c b/notmuch-new.c index 44b50aaa..484d9462 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -454,6 +454,9 @@ add_files_recursive (notmuch_database_t *notmuch, next = NULL; } + if (interrupted) + goto DONE; + /* Now that we've walked the whole filesystem list, anything left * over in the database lists has been deleted. */ while (notmuch_filenames_valid (db_files))