mercurial/commands.py
changeset 45837 b7b8a1538161
parent 45831 976b26bdd0d8
child 45838 d6279c43fc60
--- a/mercurial/commands.py	Mon Jun 22 22:47:43 2020 -0700
+++ b/mercurial/commands.py	Tue Nov 03 20:18:26 2020 -0800
@@ -6348,6 +6348,7 @@
             )
         s = wireprotoserver.sshserver(ui, repo)
         s.serve_forever()
+        sys.exit(0)
 
     service = server.createservice(ui, repo, opts)
     return server.runservice(opts, initfn=service.init, runfn=service.run)