Merge pull request #4722 from maximd/master
Fix issue synergy/synergy#4720
This commit is contained in:
commit
9487db1672
|
@ -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