summaryrefslogtreecommitdiff
path: root/cmdline/apt-cdrom.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-06-26 07:35:16 +0200
committerMichael Vogt <mvo@debian.org>2013-06-26 07:35:16 +0200
commit9d0c9e70494abe789490cd3b76b67d2927e410e7 (patch)
tree7ff10ee84b19f48851f3196391f308de606f160c /cmdline/apt-cdrom.cc
parent0a83556bf3ed33c95f39dd1063c4e745aaaeac9e (diff)
"mount path"->"mount point" and also make the warning a error when no CD-ROM is found
Diffstat (limited to 'cmdline/apt-cdrom.cc')
-rw-r--r--cmdline/apt-cdrom.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index 520b1e0a0..3f53e16ee 100644
--- a/cmdline/apt-cdrom.cc
+++ b/cmdline/apt-cdrom.cc
@@ -41,10 +41,10 @@
/*}}}*/
static const char *W_NO_CDROM_FOUND = \
N_("No CD-ROM could be auto-detected or found using "
- "the default mount path.\n"
- "You may try the --cdrom option to set the CD-ROM mount path. "
+ "the default mount point.\n"
+ "You may try the --cdrom option to set the CD-ROM mount point. "
"See 'man apt-cdrom' for more "
- "information about the CD-ROM auto-detection and mount path.");
+ "information about the CD-ROM auto-detection and mount point.");
using namespace std;
@@ -162,7 +162,7 @@ bool DoAdd(CommandLine &)
if (count == 0) {
res = cdrom.Add(&log);
if (res == false) {
- _error->Warning(_(W_NO_CDROM_FOUND));
+ _error->Error(_(W_NO_CDROM_FOUND));
}
}
@@ -192,7 +192,7 @@ bool DoIdent(CommandLine &)
if (count == 0) {
res = cdrom.Ident(ident, &log);
if (res == false) {
- _error->Warning(_(W_NO_CDROM_FOUND));
+ _error->Error(_(W_NO_CDROM_FOUND));
}
}
return res;