Skip to content

Commit

Permalink
Print to stderr when unable to connect to Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb authored and indygreg committed Sep 7, 2024
1 parent 473a2e9 commit a1871d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpython-unix/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a1871d8

Please sign in to comment.