From e2223cde9b560226c98e223be590d5f8b95b2d3f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 9 Aug 2014 12:11:13 +0100 Subject: [PATCH] Send warning email --- beaglebone.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beaglebone.txt b/beaglebone.txt index 2a01b029..1b70b4e9 100644 --- a/beaglebone.txt +++ b/beaglebone.txt @@ -7172,7 +7172,7 @@ if grep -q "Error" "$TEMPFILE"; then mysql -u root --password=$MYSQL_ROOT_PASSWORD $DATABASE -o < /var/backups/$DATABASE_daily.sql # Send a warning email - echo "$DATABASE database corruption could not be repaired. Restored from backup." $EMAIL + echo "$DATABASE database corruption could not be repaired. Restored from backup." | mail -s "Freedombone database maintenance" $EMAIL rm -f $TEMPFILE exit 1