FS#12101 - pacman does not output the "no targets specified" error to stderr
Attached to Project:
Pacman
Opened by Brad Conte (B-Con) - Wednesday, 12 November 2008, 10:16 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 11:52 GMT
Opened by Brad Conte (B-Con) - Wednesday, 12 November 2008, 10:16 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 11:52 GMT
|
Details
Description:
When a -S or -R is performed to add or remove a package, the error "error: no targets specified (use -h for help)" is outputted to stdout, not stderr. Additional info: pacman v3.2.1 Steps to reproduce: $ sudo pacman -R 2> /dev/null error: no targets specified (use -h for help) $ sudo pacman -S 2> /dev/null error: no targets specified (use -h for help) |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 22 April 2012, 11:52 GMT
Reason for closing: Fixed
Additional comments about closing: Appears fixed a long time ago
Sunday, 22 April 2012, 11:52 GMT
Reason for closing: Fixed
Additional comments about closing: Appears fixed a long time ago
Btw, PM_LOG_ERROR messages sent by alpm are also printed to stdout (callback.c/cb_log).