summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index 2cc7e447..07b26ef7 100755
--- a/main.py
+++ b/main.py
@@ -28,7 +28,7 @@ import re
28import sys 28import sys
29 29
30from trace import SetTrace 30from trace import SetTrace
31from git_config import close_ssh 31from git_config import init_ssh, close_ssh
32from command import InteractiveCommand 32from command import InteractiveCommand
33from command import MirrorSafeCommand 33from command import MirrorSafeCommand
34from command import PagedCommand 34from command import PagedCommand
@@ -212,6 +212,7 @@ def _Main(argv):
212 repo = _Repo(opt.repodir) 212 repo = _Repo(opt.repodir)
213 try: 213 try:
214 try: 214 try:
215 init_ssh()
215 repo._Run(argv) 216 repo._Run(argv)
216 finally: 217 finally:
217 close_ssh() 218 close_ssh()