Why is pkg writting informational output to stderr??

Willem Jan Withagen wjw at digiware.nl
Sun Feb 8 14:44:41 UTC 2015


Hi,

I'm using a small tool (cronic) to reduce reporting pollution.
And one of the ways of doing it, is scanning stderr and exit-values.

But pkg emits this informational message over stderr.

Any chance of changing this line to stdout as well??

Regards,
--WjW


-------- Forwarded Message --------
Subject: Cron <root at rack1> cronic /usr/sbin/pkg audit -F
Date: Sun,  8 Feb 2015 06:56:00 +0100 (CET)
From: Cron Daemon <root at smtp.digiware.nl>
To: root at smtp.digiware.nl

Cronic detected failure or error output for the command:
/usr/sbin/pkg audit -F

RESULT CODE: 0

ERROR OUTPUT:
pkg: vulnxml file up-to-date

STANDARD OUTPUT:
0 problem(s) in the installed packages found.




More information about the freebsd-ports mailing list