Skip to content

Commit a1871d8

Browse files
zaniebindygreg
authored andcommitted
Print to stderr when unable to connect to Docker
1 parent 473a2e9 commit a1871d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-unix/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ def main():
911911
client = docker.from_env()
912912
client.ping()
913913
except Exception as e:
914-
print("unable to connect to Docker: %s" % e)
914+
print("unable to connect to Docker: %s" % e, file=sys.stderr)
915915
return 1
916916

917917
parser = argparse.ArgumentParser()

0 commit comments

Comments
 (0)