mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
Fix check of wrong variable found by Klocwork
--HG-- extra : convert_revision : 6f3b074e83bb808019f49c5aca3451b70f9f1e8f
This commit is contained in:
parent
2303d0fd09
commit
3fc6569d46
@ -83,7 +83,7 @@ static int new_agent_chan(struct Channel * channel) {
|
||||
return SSH_OPEN_ADMINISTRATIVELY_PROHIBITED;
|
||||
|
||||
fd = connect_agent();
|
||||
if (cli_opts.agent_fd < 0) {
|
||||
if (fd < 0) {
|
||||
return SSH_OPEN_CONNECT_FAILED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user