FS#32605 - [mkinitcpio] lsinicpio list mode prints nothing
Attached to Project:
Arch Linux
Opened by Ray (ataraxia) - Sunday, 11 November 2012, 16:45 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 14 November 2012, 03:46 GMT
Opened by Ray (ataraxia) - Sunday, 11 November 2012, 16:45 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 14 November 2012, 03:46 GMT
|
Details
Description:
Running lsinitcpio in the default --list mode prints nothing unless --verbose is also used. That's because _optverbose is initialized on line 9 as a binary flag (=0), but when it's used, it's expected to be a command-line argument. It evaluates to '0' as a string in bsdcpio's command-line, which then interprets it as a subset of the archive contents to list, so it prints nothing. Present in git master as of right now. |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 14 November 2012, 03:46 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio-0.11.2
Wednesday, 14 November 2012, 03:46 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio-0.11.2
Comment by
Dave Reisner (falconindy) - Sunday,
11 November 2012, 16:54 GMT
Comment by Ray (ataraxia) - Sunday,
11 November 2012, 16:56 GMT
You couldn't have reported this yesterday? ;)
Yeah, just call me slowpoke, I guess. I hadn't tried to use this
mode until today. ;)