From eb0ccb003ceedac0fd78fee05d7b8119dd04c48b Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 27 Jul 2017 15:47:59 +0200 Subject: Always warn if --force-yes is validly specified, not just if used The code only used to warn when it came into a situation where something actually had to be forced. Warn directly after parsing the command-line instead, that's more accurate. --- apt-private/private-download.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'apt-private/private-download.cc') diff --git a/apt-private/private-download.cc b/apt-private/private-download.cc index 25dee318e..77c35f4de 100644 --- a/apt-private/private-download.cc +++ b/apt-private/private-download.cc @@ -79,7 +79,6 @@ bool AuthPrompt(std::vector const &UntrustedList, bool const Prompt return true; } else if (_config->FindB("APT::Get::Force-Yes",false) == true) { - _error->Warning(_("--force-yes is deprecated, use one of the options starting with --allow instead.")); return true; } -- cgit v1.2.3