Explorar el Código

fail installing build-deps if parsing them failed

Git-Dch: Ignore
David Kalnischkies hace 10 años
padre
commit
5f1b8fadbb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apt-private/private-source.cc

+ 1 - 1
apt-private/private-source.cc

@@ -1041,7 +1041,7 @@ bool DoBuildDep(CommandLine &CmdL)
 	 return false;
    }
 
-   if (InstallPackages(Cache, false, true) == false)
+   if (_error->PendingError() || InstallPackages(Cache, false, true) == false)
       return _error->Error(_("Failed to process build dependencies"));
    return true;
 }