diff options
-rw-r--r-- | lib/postrunner/Main.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postrunner/Main.rb b/lib/postrunner/Main.rb index dab970d..1bb067a 100644 --- a/lib/postrunner/Main.rb +++ b/lib/postrunner/Main.rb @@ -237,7 +237,7 @@ EOT cfg['html_dir'] = File.join(@db_dir, 'html') setup_directories - if (errors = @db.check) != 0 + if $DEBUG && (errors = @db.check) != 0 Log.fatal "Postrunner database is corrupted: #{errors} errors found" end execute_command(args) |