summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLeoVerto <LeoVerto@users.noreply.github.com>2015-03-31 18:33:47 +0200
committerLeoVerto <LeoVerto@users.noreply.github.com>2015-03-31 18:33:47 +0200
commit7e9bc1b7b99cc97e3258e3b4a11ad9051b7397a0 (patch)
treee793166ddabc1f9ede9ac69c0f51d058ffe99e07 /bin
parenta67664055d2b687815cb784e1eeaaac12a9fbfd8 (diff)
downloadetherpad-lite-7e9bc1b7b99cc97e3258e3b4a11ad9051b7397a0.zip
Fix minor typo in safeRun.sh email report
Diffstat (limited to 'bin')
-rwxr-xr-xbin/safeRun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/safeRun.sh b/bin/safeRun.sh
index 4b3485ba..519a0b6e 100755
--- a/bin/safeRun.sh
+++ b/bin/safeRun.sh
@@ -55,7 +55,7 @@ do
TIME_SINCE_LAST_SEND=$(($TIME_NOW - $LAST_EMAIL_SEND))
if [ $TIME_SINCE_LAST_SEND -gt $TIME_BETWEEN_EMAILS ]; then
- printf "Server was restared at: $(date)\nThe last 50 lines of the log before the error happens:\n $(tail -n 50 ${LOG})" | mail -s "Pad Server was restarted" $EMAIL_ADDRESS
+ printf "Server was restarted at: $(date)\nThe last 50 lines of the log before the error happens:\n $(tail -n 50 ${LOG})" | mail -s "Pad Server was restarted" $EMAIL_ADDRESS
LAST_EMAIL_SEND=$TIME_NOW
fi