]> git.notmuchmail.org Git - notmuch/blobdiff - lib/directory.cc
lib: fix return value for n_directory_delete
[notmuch] / lib / directory.cc
index 79ceea31c2d4a00ae1579e6bb2fc74dc58a138c3..eee8254e7a842e18cce933907ccddeac19356474 100644 (file)
@@ -323,7 +323,7 @@ notmuch_directory_delete (notmuch_directory_t *directory)
     }
     notmuch_directory_destroy (directory);
 
-    return NOTMUCH_STATUS_SUCCESS;
+    return status;
 }
 
 void