summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/check_mail.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/check_mail.py b/contrib/check_mail.py
index 14d2e82..ac23f77 100755
--- a/contrib/check_mail.py
+++ b/contrib/check_mail.py
@@ -82,6 +82,9 @@ def check_mail(label, nomail, ignore, colors):
else:
return nomail, colors[0]
+ except IOError, exception:
+ return '{0}: {1}'.format(name, exception.strerror), colors[2]
+
except:
pass