configure needrestart to restart when unattended
[ansible.git] / roles / email / files / check-for-local-mail
1 #!/bin/bash
2 exists() {
3     [ -e "$1" ]
4 }
5
6 if exists /var/mail/*; then
7     echo "There is mail for some users in /var/mail!"
8 fi