git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8ae522
)
dbwrap: don't panic in db_open() when attaching to ctdb fails.
author
Michael Adam
<obnox@samba.org>
Tue, 15 Jul 2008 13:27:14 +0000
(15:27 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 15 Jul 2008 13:27:14 +0000
(15:27 +0200)
Michael
(This used to be commit
b9c008d9bd8b8119007e7ad03a40235998af4f5c
)
source3/lib/dbwrap.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap.c
b/source3/lib/dbwrap.c
index 6dfe0b37665fd7b6d4eadeff376febcddba75cfb..b498c46615c50554bfe0cc29430619cc7f97c227 100644
(file)
--- a/
source3/lib/dbwrap.c
+++ b/
source3/lib/dbwrap.c
@@
-83,8
+83,7
@@
struct db_context *db_open(TALLOC_CTX *mem_ctx,
if (result == NULL) {
DEBUG(0,("failed to attach to ctdb %s\n",
partname));
- smb_panic("failed to attach to a ctdb "
- "database");
+ return NULL;
}
}
}