From 8f9efca9a673d62f43e4ae26a153337a25b22ce3 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 25 Aug 2013 17:09:41 +0200 Subject: [PATCH] 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. --- src/bin/pkgman/PackageManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pkgman/PackageManager.cpp b/src/bin/pkgman/PackageManager.cpp index f7c4df991a..3e71c42070 100644 --- a/src/bin/pkgman/PackageManager.cpp +++ b/src/bin/pkgman/PackageManager.cpp @@ -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