Fix issue synergy/synergy#4720
This commit is contained in:
parent
efd0108597
commit
03fc9b5fa7
|
@ -194,13 +194,7 @@ QString PluginManager::getPluginUrl(const QString& pluginName)
|
|||
process.start(program, args);
|
||||
bool success = process.waitForStarted();
|
||||
|
||||
if (!success || !process.waitForFinished())
|
||||
{
|
||||
emit error(tr("Could not get Linux package type."));
|
||||
return "";
|
||||
}
|
||||
|
||||
bool isDeb = (process.exitCode() == 0);
|
||||
bool isDeb = (success && process.waitForFinished() & (process.exitCode() == 0));
|
||||
|
||||
int arch = getProcessorArch();
|
||||
if (arch == kProcessorArchLinux32) {
|
||||
|
|
Loading…
Reference in New Issue