fix rc
This commit is contained in:
parent
8d1db6218b
commit
b87621ed4d
|
@ -939,6 +939,7 @@ def perform_checks(raw_args):
|
||||||
containers = get_containers(args.containers, args.present)
|
containers = get_containers(args.containers, args.present)
|
||||||
except URLError as e:
|
except URLError as e:
|
||||||
critical(f'Failed to connect to daemon: {e.reason}.')
|
critical(f'Failed to connect to daemon: {e.reason}.')
|
||||||
|
print_results()
|
||||||
exit(rc)
|
exit(rc)
|
||||||
|
|
||||||
if len(containers) == 0 and not args.present:
|
if len(containers) == 0 and not args.present:
|
||||||
|
|
Loading…
Reference in New Issue