Open m-blaha opened 4 hours ago
Do you mean if stdin or stdout is a TTY?
I'd rather remove the warning completely, in all cases.
Do you mean if stdin or stdout is a TTY?
Yes, this was the first possible solution I came up with :) But complete removal of the warning is also valid.
dnf5 writes the
warning to the journal even if the
_execute
command was run correctly usingdnf5 offline reboot
. This might confuse users trying to debug failed system upgrade.The warning should be printed only if the user tries to run
dnf5 offline _execute
from the command line.See https://bugzilla.redhat.com/show_bug.cgi?id=2322527