mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
On success, clear the last failure time
This commit is contained in:
@@ -248,6 +248,11 @@ foreach $serv (@services) {
|
||||
|
||||
# Update old status hash
|
||||
$oldstatus{$serv->{'id'}} = $newstatus_str;
|
||||
|
||||
# If successful, clear the last-sent time
|
||||
if ($ok == 1) {
|
||||
delete($lastsent{$serv->{'id'}});
|
||||
}
|
||||
}
|
||||
|
||||
# Close oldstatus, fails and lastsent files
|
||||
|
||||
Reference in New Issue
Block a user