multiSSH3 5.42__tar.gz → 5.43__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of multiSSH3 might be problematic. Click here for more details.
- {multissh3-5.42 → multissh3-5.43}/PKG-INFO +1 -1
- {multissh3-5.42 → multissh3-5.43}/multiSSH3.egg-info/PKG-INFO +1 -1
- {multissh3-5.42 → multissh3-5.43}/multiSSH3.py +4 -2
- {multissh3-5.42 → multissh3-5.43}/README.md +0 -0
- {multissh3-5.42 → multissh3-5.43}/multiSSH3.egg-info/SOURCES.txt +0 -0
- {multissh3-5.42 → multissh3-5.43}/multiSSH3.egg-info/dependency_links.txt +0 -0
- {multissh3-5.42 → multissh3-5.43}/multiSSH3.egg-info/entry_points.txt +0 -0
- {multissh3-5.42 → multissh3-5.43}/multiSSH3.egg-info/requires.txt +0 -0
- {multissh3-5.42 → multissh3-5.43}/multiSSH3.egg-info/top_level.txt +0 -0
- {multissh3-5.42 → multissh3-5.43}/setup.cfg +0 -0
- {multissh3-5.42 → multissh3-5.43}/setup.py +0 -0
|
@@ -45,7 +45,7 @@ except AttributeError:
|
|
|
45
45
|
# If neither is available, use a dummy decorator
|
|
46
46
|
def cache_decorator(func):
|
|
47
47
|
return func
|
|
48
|
-
version = '5.
|
|
48
|
+
version = '5.43'
|
|
49
49
|
VERSION = version
|
|
50
50
|
|
|
51
51
|
CONFIG_FILE = '/etc/multiSSH3.config.json'
|
|
@@ -1420,12 +1420,14 @@ def run_command(host, sem, timeout=60,passwds=None, retry_limit = 5):
|
|
|
1420
1420
|
__handle_reading_stream(io.BytesIO(stderr),host.stderr, host)
|
|
1421
1421
|
# if the last line in host.stderr is Connection to * closed., we will remove it
|
|
1422
1422
|
host.returncode = proc.poll()
|
|
1423
|
-
if
|
|
1423
|
+
if host.returncode is None:
|
|
1424
1424
|
# process been killed via timeout or sigkill
|
|
1425
1425
|
if host.stderr and host.stderr[-1].strip().startswith('Timeout!'):
|
|
1426
1426
|
host.returncode = 124
|
|
1427
1427
|
elif host.stderr and host.stderr[-1].strip().startswith('Ctrl C detected, Emergency Stop!'):
|
|
1428
1428
|
host.returncode = 137
|
|
1429
|
+
else:
|
|
1430
|
+
host.returncode = -1
|
|
1429
1431
|
host.output.append(f'Command finished with return code {host.returncode}')
|
|
1430
1432
|
if host.stderr:
|
|
1431
1433
|
# filter out the error messages that we want to ignore
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|