summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-12-30 21:51:17 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-01-02 16:19:40 +0100
commit5f1b8fadbba7108ba20bd07c7479eb5e5704308e (patch)
tree54e52d377dda8b5beb12e7b069d5671de4b47233
parent7c673134f14036a749ad46f17ab390c84dd6b180 (diff)
fail installing build-deps if parsing them failed
Git-Dch: Ignore
-rw-r--r--apt-private/private-source.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-source.cc b/apt-private/private-source.cc
index 52487248f..a2621946a 100644
--- a/apt-private/private-source.cc
+++ b/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;
}