From 3f00295f5eba1ff9a08cb35656222c78479fae11 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 19 Apr 2012 09:06:40 +0200 Subject: s3-dbwrap: dbwrap_watch_record_stored => NT_STATUS_NOT_FOUND is ok... Autobuild-User: Volker Lendecke Autobuild-Date: Fri Apr 20 17:05:52 CEST 2012 on sn-devel-104 --- source3/lib/dbwrap/dbwrap_watch.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/lib/dbwrap') diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index db0d376e3c..0c13371531 100644 --- a/source3/lib/dbwrap/dbwrap_watch.c +++ b/source3/lib/dbwrap/dbwrap_watch.c @@ -318,6 +318,9 @@ static void dbwrap_watch_record_stored(struct db_context *db, status = dbwrap_record_get_watchers(db, rec, talloc_tos(), &ids, &num_ids); + if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND)) { + goto done; + } if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("dbwrap_record_get_watchers failed: %s\n", nt_errstr(status))); -- cgit