diff --git a/era/era_check.cc b/era/era_check.cc index de73527..5b143f5 100644 --- a/era/era_check.cc +++ b/era/era_check.cc @@ -143,6 +143,8 @@ namespace { if (sb_rep.get_error() == FATAL) return FATAL; + return sb_rep.get_error(); + #if 0 superblock sb = read_superblock(bm); transaction_manager::ptr tm = open_tm(bm); @@ -153,8 +155,6 @@ namespace { combine_errors(hint_rep.get_error(), discard_rep.get_error()))); #endif - - return FATAL; } int check(string const &path, flags const &fs) {