Browse Source

fail installing build-deps if parsing them failed

Git-Dch: Ignore
David Kalnischkies 10 years ago
parent
commit
5f1b8fadbb
1 changed files with 1 additions and 1 deletions
  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;
 }