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