diff options
Diffstat (limited to 'include/tests_time')
-rw-r--r-- | include/tests_time | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_time b/include/tests_time index 4184f9b3..34321bd0 100644 --- a/include/tests_time +++ b/include/tests_time @@ -102,7 +102,7 @@ for I in ${CRONTAB_FILES}; do if [ -f ${I} ]; then logtext "Test: checking for ntpdate or rdate in crontab file ${I}" - FIND=`cat ${I} | ${EGREPBINARY} "ntpdate|rdate" | grep -v '^#'` + FIND=`${EGREPBINARY} "ntpdate|rdate" ${I} | grep -v '^#'` if [ ! "${FIND}" = "" ]; then FOUND=1; NTP_CONFIG_TYPE_SCHEDULED=1 Display --indent 2 --text "- Checking NTP client in crontab file (${I})" --result FOUND --color GREEN |