Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2015 15:44:20 +0100
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Why is pkg writting informational output to stderr??
Message-ID:  <54D77644.4090605@digiware.nl>
In-Reply-To: <20150208055601.0051B16A406@smtp.digiware.nl>
References:  <20150208055601.0051B16A406@smtp.digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@rack1> cronic /usr/sbin/pkg audit -F
Date: Sun,  8 Feb 2015 06:56:00 +0100 (CET)
From: Cron Daemon <root@smtp.digiware.nl>
To: root@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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D77644.4090605>