[era_check] Was always returning FATAL

This commit is contained in:
Joe Thornber 2014-01-13 13:58:38 +00:00
parent bfb540cc5b
commit 41d25aa9e4

View File

@ -143,6 +143,8 @@ namespace {
if (sb_rep.get_error() == FATAL) if (sb_rep.get_error() == FATAL)
return FATAL; return FATAL;
return sb_rep.get_error();
#if 0 #if 0
superblock sb = read_superblock(bm); superblock sb = read_superblock(bm);
transaction_manager::ptr tm = open_tm(bm); transaction_manager::ptr tm = open_tm(bm);
@ -153,8 +155,6 @@ namespace {
combine_errors(hint_rep.get_error(), combine_errors(hint_rep.get_error(),
discard_rep.get_error()))); discard_rep.get_error())));
#endif #endif
return FATAL;
} }
int check(string const &path, flags const &fs) { int check(string const &path, flags const &fs) {