fixed lots of places that paniced on a failed transaction_commit,
[samba.git] / source3 / lib / sharesec.c
index e64611f1549b368bb8df0ca8f6b5032a1a2a1399..438000008063d5e1929e9e0096386f6f085272f2 100644 (file)
@@ -109,7 +109,7 @@ static bool share_info_db_init(void)
 
        if (share_db->transaction_commit(share_db) != 0) {
                DEBUG(0, ("transaction_commit failed\n"));
-               goto cancel;
+               return false;
        }
 
        return true;