From: Michael Vogt Date: Mon, 12 Aug 2013 15:41:36 +0000 (+0200) Subject: improve error message X-Git-Tag: 0.9.10~15 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/7dd5854b48f5d59c02fb0068d850384f3e678c67 improve error message --- diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc index 545edf439..a95970782 100644 --- a/cmdline/apt-cdrom.cc +++ b/cmdline/apt-cdrom.cc @@ -67,7 +67,8 @@ void pkgCdromTextStatus::Prompt(const char *Text) char C; cout << Text << ' ' << flush; if (read(STDIN_FILENO,&C,1) < 0) - _error->Errno("pkgCdromTextStatus::Prompt", "failed to prompt"); + _error->Errno("pkgCdromTextStatus::Prompt", + "Failed to read from standard input (not a terminal?)"); if (C != '\n') cout << endl; }