Commit Diff


commit - 49fb992d7513e43eb9b183e6fa82520d4db1656d
commit + d82c089e721370e0a6896e152a25f2fa75a25b44
blob - 033605b9384d67feb53c9a350247ecc2d100ba3b
blob + 872543ae483300400993606c114cf64685efd6af
--- notify.pl
+++ notify.pl
@@ -200,6 +200,7 @@ if ($function =~ /notify/) {
 	my @stopped_vms = qx(vmctl show | grep stopped | awk '{print \$9}');
 	for my $vm_name (sort keys %vms) {
 		if (!grep(/$vm_name/, @stopped_vms)) { delete $vms{$vm_name}; next; }
+		if ($vms{$vm_name}{'donated'} =~ /expire/) { delete $vms{$vm_name}; next; }
 	}
 	mailout(\%conf, \%vms);
 } else {