diff options
author | John Ogness <john.ogness@linutronix.de> | 2014-04-21 11:54:34 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-04-26 09:51:05 +0200 |
commit | 7187074bfc7a6932ab21c33546e71b61abe258e3 (patch) | |
tree | fa06f51b8270057c91c77212ede5200c8d722ae3 /apt-pkg/cdrom.h | |
parent | 12701ee3e5a637e5e45c633dc9aa2b16b81df0b8 (diff) |
properly undo CD-ROM mount in all error cases
In bug #740673 various issues in the CD-ROM handling code were
identified, while most the issues ended up being fixed in another way,
the unmounting of the CD-ROM in error cases was not tackled so far.
(The patch was modified by the commiter to apply)
Diffstat (limited to 'apt-pkg/cdrom.h')
-rw-r--r-- | apt-pkg/cdrom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/cdrom.h b/apt-pkg/cdrom.h index 0f2c2cd02..bd0902176 100644 --- a/apt-pkg/cdrom.h +++ b/apt-pkg/cdrom.h @@ -77,6 +77,7 @@ class pkgCdrom /*{{{*/ private: APT_HIDDEN bool MountAndIdentCDROM(Configuration &Database, std::string &CDROM, std::string &ident, pkgCdromStatus * const log, bool const interactive); + APT_HIDDEN bool UnmountCDROM(std::string const &CDROM, pkgCdromStatus * const log); }; /*}}}*/ |