mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
fix: segmentation violation due to missing return (#1321)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user