summaryrefslogtreecommitdiff
path: root/extras/cdrom_id/.gitignore
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-04-15 08:56:48 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2010-04-15 21:29:17 +0200
commit58e178894bfc040834e1270c6fe9b9fdef513550 (patch)
tree8e1a7b5308a2f2c04157bc89468a3a874b7954ca /extras/cdrom_id/.gitignore
parenta60b077a465b19af2efd9bf0cb5f0f67117be780 (diff)
cdrom_id: Do not ignore errors from scsi_cmd_run()
scsi_cmd_run() can return positive error messages if we have CHECK_CONDITION set and get the error code from the SCSI command result. So check the result for non-zero, not for being negative. This should fix another cause for "phantom" media in empty CD-ROM drives. Thanks to Mike Brudevold <mike@brudevold.com> for spotting this! https://launchpad.net/bugs/562978
Diffstat (limited to 'extras/cdrom_id/.gitignore')
0 files changed, 0 insertions, 0 deletions