pkgman: PackageManager: no longer auto-exit() when a job fails

This way search and uninstall no longer fail when there's no connection
to the internet.
This commit is contained in:
Ingo Weinhold 2013-08-25 17:09:41 +02:00
parent 03191ec5af
commit 8f9efca9a6

View File

@ -83,7 +83,7 @@ PackageManager::PackageManager(BPackageInstallationLocation location,
fInstalledRepositories(10),
fOtherRepositories(10, true),
fDecisionProvider(),
fJobStateListener(),
fJobStateListener(JobStateListener::EXIT_ON_ABORT),
fContext(fDecisionProvider, fJobStateListener)
{
// create the solver