Commit 09bd33ab authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix; remove empty logfiles.

parent d9218963
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2011 University of Utah and the Flux Group.
# Copyright (c) 2000-2012 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -393,6 +393,9 @@ sub SendAuditMail($)
# Success and no log ...
if ($exitstatus == 0 && !(defined($logfile) && -s $logfile)) {
# Do not save empty logfile.
unlink($logfile)
if (defined($logfile));
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment