monc: small sanity check

This commit is contained in:
Sage Weil 2009-11-17 14:02:09 -08:00
parent f50a0517b3
commit 62ccae85ea

View File

@ -354,10 +354,9 @@ void MonClient::tick()
dout(10) << "tick" << dendl;
if (hunting) {
dout(0) << "continuing hunt" << dendl;
dout(1) << "continuing hunt" << dendl;
_reopen_session();
} else {
} else if (cur_mon >= 0) {
// just renew as needed
utime_t now = g_clock.now();
if (now > sub_renew_after)