diff options
author | John Ogness <john.ogness@linutronix.de> | 2013-12-13 20:59:31 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-02-12 02:18:37 +0100 |
commit | 62dcbf84c4aee8cb01e40c594d4c7f3a23b64836 (patch) | |
tree | 0438178b16facfd688bfcc7947d4b237c8481a34 /cmdline/apt-cache.cc | |
parent | 246bbb611d4cd5e2a13ecffb6cbe0e76390eae6f (diff) |
apt-cdrom should succeed if any drive succeeds
If there are multiple CD-ROM drives, `apt-cdrom add` will abort with an
error if any of the drives do not contain a Debian CD which is against
the documentation we have saying "a CD-ROM" and also scripts do not
expect it this way.
This patch modifies apt-cdrom to return success if any of the drives
succeeded. If failures occur, apt-cdrom will still continue trying all
the drives and report the last failure (if none of them succeeded).
The 'ident' command was also changed to match the new 'add' behavior.
Closes: 728153
Diffstat (limited to 'cmdline/apt-cache.cc')
0 files changed, 0 insertions, 0 deletions