This commit is contained in:
Cyberes 2023-05-03 12:26:37 -06:00
parent 40380b67e0
commit 8d1db6218b
1 changed files with 1 additions and 0 deletions

View File

@ -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")