https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230243
Bug ID: 230243
Summary: freebsd-update prints error output to stdout instead
of stderr [patch]
Product: Base System
Version: 11.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 195691
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195691&action=edit
Diff for /usr/sbin/freebsd-update
If the /usr/sbin/freebsd-update script fails, it prints messages explaining why
to stdout instead of stderr. Running it from a command-line, this works fine,
but it's a problem when you want to run it from a Go script and only print the
errors but not the normal output, as I was doing when I found this. I've
attached a diff that should fix this.
I've never done this before, so sorry if I'm doing it wrong, or if this
actually isn't a bug for some reason I don't understand.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"