Skip to content

Commit

Permalink
Removal of wrong type check for ssh credential
Browse files Browse the repository at this point in the history
in manage.c: Removed the erroneous type check for the
  ssh credential in function target_osp_ssh_credential()
  before appending ssh elevate credential login data to
  the ssh credential login data.
  • Loading branch information
jhelmold committed May 31, 2021
1 parent b42a93e commit bf92148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ target_osp_ssh_credential (target_t target)
g_free (base64);
}

if(ssh_elevate_credential && !strcmp (type, "up"))
if(ssh_elevate_credential)
{
const char *elevate_type;

Expand Down

0 comments on commit bf92148

Please sign in to comment.