Skip to content

Commit

Permalink
fix: segmentation violation due to missing return (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
sund3RRR authored Dec 28, 2024
1 parent b88ab8e commit 2bff37e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2bff37e

Please sign in to comment.