mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
Display error when OpenConnect was not found (#81)
This commit is contained in:
@@ -99,7 +99,8 @@ void GPService::connect(QString server, QString username, QString passwd, QStrin
|
||||
|
||||
QString bin = findBinary();
|
||||
if (bin == nullptr) {
|
||||
log("Could not found openconnect binary, make sure openconnect is installed, exiting.");
|
||||
log("Could not find openconnect binary, make sure openconnect is installed, exiting.");
|
||||
emit error("The OpenConect CLI was not found, make sure it has been installed!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user