--- glsa-check.orig 2008-11-10 09:33:23.000000000 -0500 +++ glsa-check.orig 2008-11-10 09:36:47.000000000 -0500 @@ -312,6 +312,9 @@ myattachments.append(str(myfd.getvalue())) myfd.close() + if not glsalist: + mysubject = "[glsa-check] No advisories found for %s" % socket.getfqdn() + mymessage = portage_mail.create_message(myfrom, myrecipient, mysubject, summary, myattachments) portage_mail.send_mail(glsaconfig, mymessage)