diff options
author | Michael Adam <obnox@samba.org> | 2008-07-15 15:27:14 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-07-15 15:27:14 +0200 |
commit | 5a8b0fe99f302e5d1ff2b47a1fe617ccd3a8b7b7 (patch) | |
tree | 2628b935a1cc4aacc2f9dd9011a9db6f18d3fca5 /source3/lib | |
parent | a8ae5228f552b87363e34ab42a44c770864ded95 (diff) | |
download | samba-5a8b0fe99f302e5d1ff2b47a1fe617ccd3a8b7b7.tar.gz samba-5a8b0fe99f302e5d1ff2b47a1fe617ccd3a8b7b7.tar.bz2 samba-5a8b0fe99f302e5d1ff2b47a1fe617ccd3a8b7b7.zip |
dbwrap: don't panic in db_open() when attaching to ctdb fails.
Michael
(This used to be commit b9c008d9bd8b8119007e7ad03a40235998af4f5c)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/dbwrap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/dbwrap.c b/source3/lib/dbwrap.c index 6dfe0b3766..b498c46615 100644 --- 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; } } } |