Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
openconnect_set_token_mode: propagate error code
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
  • Loading branch information
Nikos Mavrogiannopoulos authored and nmav committed Nov 17, 2020
1 parent 04fe9d1 commit 74c0eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -2445,7 +2445,7 @@ static int lock_token(void *tokdata)
err = openconnect_set_token_mode(vpninfo, vpninfo->token_mode, file_token);
free(file_token);

return 0;
return err;
}

static int unlock_token(void *tokdata, const char *new_tok)
Expand Down

0 comments on commit 74c0eeb

Please sign in to comment.