Output coming from stdout does not cause a problem which is why it is not redirected.
I would prefer to make the minimum change required to fix the problem.

Padraig

On 07/21/09 11:44, Michal Pryc wrote:
What about normal output information?

      65 +/usr/lib/pm-checkforupdates --nice $image_dir 2>/dev/null

shouldn't be:

/usr/lib/pm-checkforupdates --nice $image_dir > /dev/null 2>&1

The same question applies to line 62.

Michal

Padraig O'Briain wrote:
The webrev, http://cr.opensolaris.org/~padraig/ips-10159-v1/, fixes
10159 Warning from /usr/lib/update-manager/update-refresh.sh

The fix is to redirect to /dev/null the stderr output from /usr/lib/pm-checkforupdates in update-fresh.sh.

Padraig
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to