Commit 879e25ad authored by Daniel Lenski's avatar Daniel Lenski

catch 'Valid client certificate is required' as EPERM

Signed-off-by: default avatarDaniel Lenski <dlenski@gmail.com>
parent a2dadc19
......@@ -305,7 +305,8 @@ out:
|| !strcmp(err, "GlobalProtect portal does not exist")) {
vpn_progress(vpninfo, PRG_DEBUG, "%s\n", err);
result = -EEXIST;
} else if (!strcmp(err, "Invalid authentication cookie")) {
} else if (!strcmp(err, "Invalid authentication cookie")
|| !strcmp(err, "Valid client certificate is required")) {
vpn_progress(vpninfo, PRG_ERR, "%s\n", err);
result = -EPERM;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment