From 493b6767202881487196455be5068f5115a23882 Mon Sep 17 00:00:00 2001 From: Barry Jackson Date: Fri, 6 Jan 2023 13:09:25 +0000 Subject: change -A arguments to 0|1 --- remove-old-kernels.cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remove-old-kernels.cron') diff --git a/remove-old-kernels.cron b/remove-old-kernels.cron index df583d8..a5c0098 100644 --- a/remove-old-kernels.cron +++ b/remove-old-kernels.cron @@ -13,6 +13,6 @@ if [[ -x /usr/sbin/remove-old-kernels ]]; then cat $roktmplog > /var/log/remove-old-kernels.log && rm -f $roktmplog ) || fail="WARNING: log trim failed" fi echo -e "\n=========================== $(date +%d/%m/%Y-%H:%M) ===========================\n$fail" >> /var/log/remove-old-kernels.log -# Use -c option to check that CRON=y is in the cfg file before running in auto mode. +# Use -c option to check that CRON=1|y is in the cfg file before running in auto mode. /usr/sbin/remove-old-kernels -c -m >> /var/log/remove-old-kernels.log fi -- cgit v1.2.1