From b87621ed4dd36abd80a780b66b4eb3da7540c013 Mon Sep 17 00:00:00 2001 From: Drake Panzer Date: Wed, 3 May 2023 12:26:57 -0600 Subject: [PATCH] fix rc --- check_docker/check_docker/check_docker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/check_docker/check_docker/check_docker.py b/check_docker/check_docker/check_docker.py index d3cfcf7..0172509 100755 --- a/check_docker/check_docker/check_docker.py +++ b/check_docker/check_docker/check_docker.py @@ -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}.') + print_results() exit(rc) if len(containers) == 0 and not args.present: