From 33a881cd50b4db62b9945acf13a25ab39ab112cc Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jul 28 2019 18:05:40 +0000 Subject: Fix logwatch test in CentOS8 --- diff --git a/tests/p_logwatch/logwatch_test.sh b/tests/p_logwatch/logwatch_test.sh index fe25128..333887a 100755 --- a/tests/p_logwatch/logwatch_test.sh +++ b/tests/p_logwatch/logwatch_test.sh @@ -3,7 +3,7 @@ t_Log "Running $0 - logwatch test." -if [ "$centos_ver" = "7" ] ; then +if [ "$centos_ver" -ge 7 ] ; then lw_options="--range Today" else lw_options="--range Today --print"