In bulinux-autoupdate, which is approaching a decade in age, we check for errors and warnings from yum update transactions by saving standard error and standard output to files. And then, if there is output on stderr, awesomely, we do stuff like `egrep -iq '(error|not signed)'` to decide whether it's errors or warnings.
This is used to generate a helpful subject line and (perhaps more importantly) to generate meaningful log messages. This all actually works very well, but makes me wince. Is there a better way in these modern times? -- Matthew Miller mat...@mattdm.org <http://mattdm.org/> _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel