From 4faeb8063f5e02feabeddf68413ab7cd3e3b54b2 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 4 Nov 2019 13:30:05 +0100 Subject: [PATCH] typo --- CHANGELOG | 2 +- evocheck.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6dc8086..36dc804 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -111,7 +111,7 @@ and this project does not adhere to [Semantic Versioning](http://semver.org/spec * IS_SQUID for Stretch * IS_LOG2MAILAPACHE for Stretch * IS_AUTOIF for Stretch - * IS_UPTIME warn if uptime is more thant 2y, was 1y + * IS_UPTIME warn if uptime is more than 2y, was 1y * IS_NOTUPGRADED warn if last upgrade is older than 90d, was 30d * IS_TUNE2FS_M5 use python in place of bc for calculation * IS_EVOMAINTENANCEUSERS for Stretch diff --git a/evocheck.sh b/evocheck.sh index f5a9aeb..ce724ad 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -628,7 +628,7 @@ check_uptime() { limit=$(date -d "now - 2 year" +%s) last_reboot_at=$(($(date +%s) - $(cut -f1 -d '.' /proc/uptime))) if [ "$limit" -gt "$last_reboot_at" ]; then - failed "IS_UPTIME" "machine has an uptime of more thant 2 years, reboot on new kernel advised" + failed "IS_UPTIME" "machine has an uptime of more than 2 years, reboot on new kernel advised" fi fi }