From f0e015c428e9bdbcab5e0b3313baca694146477a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 1 Apr 2013 19:51:59 +0400 Subject: [PATCH] daemon2: make wrong schema version error display if quiet --- update_daemon2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_daemon2.php b/update_daemon2.php index 2fbdd8b8..37d6b407 100755 --- a/update_daemon2.php +++ b/update_daemon2.php @@ -203,8 +203,8 @@ db_close($link); if ($test_schema_version != $schema_version) { - _debug("Expected schema version: $schema_version, got: $test_schema_version"); - _debug("Schema version changed while we were running, bailing out"); + echo "Expected schema version: $schema_version, got: $test_schema_version\n"; + echo "Schema version changed while we were running, bailing out\n"; exit(100); } -- 2.39.5