summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index 8e1917b6f..77d05be66 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -183,6 +183,10 @@
db_close($link);
+ if ($schema_version != SCHEMA_VERSION) {
+ die("Schema version is wrong, please upgrade the database.\n");
+ }
+
while (true) {
// Since sleep is interupted by SIGCHLD, we need another way to