mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
58e178894b
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 |
||
---|---|---|
.. | ||
ata_id | ||
cdrom_id | ||
collect | ||
edd_id | ||
firmware | ||
floppy | ||
fstab_import | ||
gudev | ||
hid2hci | ||
input_id | ||
keymap | ||
mobile-action-modeswitch | ||
path_id | ||
rule_generator | ||
scsi_id | ||
udev-acl | ||
usb_id | ||
usb-db | ||
v4l_id |