From a1871d8da9ac60eccf5a07433f689179300a153e Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 5 Sep 2024 13:54:52 -0500 Subject: [PATCH] Print to stderr when unable to connect to Docker --- cpython-unix/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpython-unix/build.py b/cpython-unix/build.py index 5c32586b..d2adb9d4 100755 --- a/cpython-unix/build.py +++ b/cpython-unix/build.py @@ -911,7 +911,7 @@ def main(): client = docker.from_env() client.ping() except Exception as e: - print("unable to connect to Docker: %s" % e) + print("unable to connect to Docker: %s" % e, file=sys.stderr) return 1 parser = argparse.ArgumentParser()