This sets MAILTO to root by default, instead of empty. The script still checks for the presence of the mail program, so it doesn't add an additional dependency, and basic behavior is the same (since cron sends mail to root by default anyway), but the meaningful subject line is just _better_. --- yum-cron/yum-cron.sysconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/yum-cron/yum-cron.sysconfig b/yum-cron/yum-cron.sysconfig index df1bcfc..4c8c40d 100644 --- a/yum-cron/yum-cron.sysconfig +++ b/yum-cron/yum-cron.sysconfig @@ -43,7 +43,7 @@ DEBUG_LEVEL=0 # command is used to deliver yum output. If MAILTO is unset, crond will # send the output by itself, usually to root (but with a less useful # subject line). -MAILTO= +MAILTO=root # The reports generated by this command generally use the hostname of # the system as reported by the hostname command. If you'd prefer to -- 1.7.6 _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
