fix: segmentation violation due to missing return (#1321)

This commit is contained in:
Mikhail Kiselev 2024-12-28 08:02:14 +03:00 committed by GitHub
parent b88ab8e432
commit 2bff37efae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -248,7 +248,7 @@ bool Utils::killProcessByName(const QString &name)
#elif defined Q_OS_IOS || defined(Q_OS_ANDROID)
return false;
#else
QProcess::execute(QString("pkill %1").arg(name));
return QProcess::execute(QString("pkill %1").arg(name)) == 0;
#endif
}