Commit 747307c1 authored by Lukas Appelhans's avatar Lukas Appelhans

another check... maybe needs to be reworked to take multiple commands

parent 066f13a7
......@@ -202,8 +202,10 @@ void SyncOperation::install(QUuid , QList< Akabei::Package* > packages)
void SyncOperation::searchResult(QUuid , QList< Akabei::Package* > packages)
{
if (packages.isEmpty())
if (packages.isEmpty()) {
QCoreApplication::instance()->quit();
return;
}
QTextStream out(stdout);
foreach (Akabei::Package * p, packages) {
if (p->database() == Akabei::Backend::instance()->localDatabase())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment