In cleanup_mail sysprep check if mail dirs exist
authorNikos Skalkotos <skalkoto@grnet.gr>
Thu, 23 May 2013 13:57:01 +0000 (16:57 +0300)
committerNikos Skalkotos <skalkoto@grnet.gr>
Thu, 23 May 2013 13:57:01 +0000 (16:57 +0300)
commita0909794618a1ac5aa5665047870c0c0c054749a
tree9d8dcbc69009894c6420c46c196704f17d7d27e1
parentfa65eda12290726b54998d7fe60a0448a4bc22d0
In cleanup_mail sysprep check if mail dirs exist

Check if /var/spool/mail exists before trying to remove the content
of the directory.
image_creator/os_type/unix.py