summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index e4dd4fea1..3578871e6 100644
--- a/backend.php
+++ b/backend.php
@@ -748,7 +748,9 @@
}
if ($subop == "sanityCheck") {
- sanity_check($link);
+ if (sanity_check($link)) {
+ print "<error error-code=\"0\"/>";
+ }
}
if ($subop == "globalPurge") {