Hi all, I noticed that "yum -q" (or "dnf" -q) on CentOS 8 is not really quiet anymore. For example (notiche the "upgraded" line):
[root@localhost cron.d]# yum upgrade -y -q
Upgraded: python3-perf-4.18.0-305.10.2.el8_4.x86_64
While yum historically had issue with the quiet option [1], this specific issue seems new to me. Do you have any suggestion (short of redirecting stdout to /dev/null)?
Thanks.
Hi all, I noticed that "yum -q" (or "dnf" -q) on CentOS 8 is not really quiet anymore. For example (notiche the "upgraded" line):
[root@localhost cron.d]# yum upgrade -y -q
Upgraded: python3-perf-4.18.0-305.10.2.el8_4.x86_64
While yum historically had issue with the quiet option [1], this specific issue seems new to me. Do you have any suggestion (short of redirecting stdout to /dev/null)?
Maybe redirecting only stderr to /dev/null is enough?
Simon
Il 2021-07-24 20:12 Simon Matter ha scritto:
Maybe redirecting only stderr to /dev/null is enough?
No, it really goes to stdout. Anyway, masking all error redirecting them to /dev/null would be too heavy-handed. Regards.