diff --git a/scan_engine_connect.cc b/scan_engine_connect.cc index 50d8c23e1..014824715 100644 --- a/scan_engine_connect.cc +++ b/scan_engine_connect.cc @@ -507,10 +507,9 @@ bool do_one_select_round(UltraScanInfo *USI, struct timeval *stime) { usleep(timeleft * 1000); selectres = 0; } + gettimeofday(&USI->now, NULL); } while (selectres == -1 && err == EINTR); - gettimeofday(&USI->now, NULL); - if (selectres == -1) pfatal("select failed in %s()", __func__);