summaryrefslogtreecommitdiffstats
path: root/Lib/ensurepip/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/ensurepip/__main__.py')
-rw-r--r--Lib/ensurepip/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/ensurepip/__main__.py b/Lib/ensurepip/__main__.py
index 77527d7..03eef0d 100644
--- a/Lib/ensurepip/__main__.py
+++ b/Lib/ensurepip/__main__.py
@@ -1,4 +1,5 @@
import ensurepip
+import sys
if __name__ == "__main__":
- ensurepip._main()
+ sys.exit(ensurepip._main())