Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/LibrIT/passhport
Browse files Browse the repository at this point in the history
  • Loading branch information
elg committed Sep 27, 2019
2 parents c3894db + a027a8f commit e2ddf62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions passhportd/app/views_mod/target/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,8 @@ def extgetaccess(ip, targetname, username):
# Transform the ouput on Dict
output = eval(output)
if output["execution_status"] != "OK":
return utils.response('ERROR: external script execution status.',
500)
return utils.response('ERROR: target seems unreachable.',
200)

# Create a exttarget object to log the connection
u = utils.get_user(username)
Expand Down

0 comments on commit e2ddf62

Please sign in to comment.