Skip to content

Commit

Permalink
CASSH Client v1.4.1: cassh signature catch more error
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Beguier committed Nov 22, 2017
1 parent acfe255 commit 856ba01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cassh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if sys.version_info < (3, 0):
# Debug
# from pdb import set_trace as st

VERSION = '%(prog)s 1.4.0'
VERSION = '%(prog)s 1.4.1'

def read_conf(conf_path):
"""
Expand Down Expand Up @@ -194,7 +194,7 @@ class CASSH(object):
except ConnectionError:
print('Connection error : %s' % self.url)
exit(1)
if 'Error' in req.text or 'Status' in req.text:
if not 'ssh-rsa-cert' in req.text:
print(req.text)
exit(1)
if do_write_on_disk:
Expand Down

0 comments on commit 856ba01

Please sign in to comment.