X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=484d94623fa13fb1b456a185e1f1eecc5133bfea;hp=44b50aaa2c49ceea06825abea39256790f2c1a5d;hb=8c8079a8b14fac5e8ca6b682e5c76e08a824f2e7;hpb=4e5d2f22db290a830c0267f34b519c6138af00ed 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))