Skip to content
Snippets Groups Projects
Commit 9c70774a authored by Florent Thiery's avatar Florent Thiery
Browse files

fix error, refs #20596

parent 129ec4df
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ def check_celerity_connectivity(ip):
print('Checking celerity connectivity: %s' % cmd)
try:
d = subprocess.check_output(cmd, shell=True, timeout=5)
except exception:
except subprocess.CalledProcessError:
d = ''
if "Celerity tasks server" in d:
print('%sSuccessfully reached tasks server%s' % (GREEN, DEF))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment