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