Compare commits
No commits in common. "7ec8690d7289f1a2ad80926c9c15b0bcc7012131" and "602848cd9dfe4a4a8d7d1c2324b008db7929dc4b" have entirely different histories.
7ec8690d72
...
602848cd9d
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
*~
|
|
@ -108,11 +108,7 @@ if __name__ == '__main__':
|
|||
|
||||
# Ok now connect, and try to get values for memory
|
||||
client = schecks.connect(hostname, port, ssh_key_file, passphrase, user)
|
||||
result = execute_check(client, check_path)
|
||||
if result is False:
|
||||
print("failed to execute remote check!")
|
||||
sys.exit(3)
|
||||
else:
|
||||
output, exitcode = result
|
||||
print(output)
|
||||
result, exitcode = execute_check(client, check_path)
|
||||
|
||||
print result
|
||||
sys.exit(exitcode)
|
||||
|
|
Loading…
Reference in a new issue