aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/db')
-rw-r--r--src/db/plugins/simple/SimpleDatabasePlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/plugins/simple/SimpleDatabasePlugin.cxx b/src/db/plugins/simple/SimpleDatabasePlugin.cxx
index 3048194cd..9fd88ab83 100644
--- a/src/db/plugins/simple/SimpleDatabasePlugin.cxx
+++ b/src/db/plugins/simple/SimpleDatabasePlugin.cxx
@@ -187,7 +187,7 @@ SimpleDatabase::Load(Error &error)
if (file.HasFailed())
return false;
- if (!db_load_internal(file, *root, error))
+ if (!db_load_internal(file, *root, error) || !file.Check(error))
return false;
struct stat st;