mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
If tdb_open() fails when trying to open the vacuuming database,
print errno so we get some idea of why this failed. (This used to be ctdb commit 3695462ade497356d1b86c6fd1bc1765f1d11e57)
This commit is contained in:
parent
b4e3a95039
commit
ef2e8d3c95
@ -702,7 +702,7 @@ static int get_vacuum_interval(struct ctdb_db_context *ctdb_db)
|
||||
flags,
|
||||
O_RDWR|O_CREAT, 0600);
|
||||
if (!tdb) {
|
||||
DEBUG(DEBUG_ERR,("Unable to open/create database %s using default interval\n", vac_dbname));
|
||||
DEBUG(DEBUG_ERR,("Unable to open/create database %s using default interval. Errno : %s (%d)\n", vac_dbname, strerror(errno), errno));
|
||||
talloc_free(tmp_ctx);
|
||||
return interval;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user