summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2020-03-08 22:54:48 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2020-03-08 22:54:48 +0100
commitad8d6628c4910ac81ed3227f4fa4231124e6e892 (patch)
tree8798d6bb621e3855cbd3f6b7283d6b10472f2c91
parent368898379638a33578613b2169fa8c4205c44902 (diff)
downloadutils-ad8d6628c4910ac81ed3227f4fa4231124e6e892.tar
utils-ad8d6628c4910ac81ed3227f4fa4231124e6e892.tar.gz
utils-ad8d6628c4910ac81ed3227f4fa4231124e6e892.tar.bz2
utils-ad8d6628c4910ac81ed3227f4fa4231124e6e892.tar.xz
utils-ad8d6628c4910ac81ed3227f4fa4231124e6e892.zip
...
-rw-r--r--notmuch-ssh-client2
-rw-r--r--notmuch-ssh-server2
2 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-ssh-client b/notmuch-ssh-client
index 6983fbe..d35a68a 100644
--- a/notmuch-ssh-client
+++ b/notmuch-ssh-client
@@ -3,4 +3,4 @@
3instance=${NOTMUCH_INSTANCE:-mail} 3instance=${NOTMUCH_INSTANCE:-mail}
4host=${NOTMUCH_HOST:-notmuch.odin} 4host=${NOTMUCH_HOST:-notmuch.odin}
5 5
6exec -- @openssh@/bin/ssh ${host} -- ${instance} $@ 6exec -- @openssh@/bin/ssh -o ControlPath=none ${host} -- ${instance} $@
diff --git a/notmuch-ssh-server b/notmuch-ssh-server
index 6a7a2ed..493bf02 100644
--- a/notmuch-ssh-server
+++ b/notmuch-ssh-server
@@ -25,6 +25,6 @@ if len(original_command) < 1:
25 25
26config_section = original_command[0] 26config_section = original_command[0]
27 27
28command_environment = config.items(config_section) if config.has_section(config_section) else config.items(config.default_section) 28command_environment = config[config_section] if config.has_section(config_section) else config[config.default_section]
29 29
30os.execvpe('@notmuch@/bin/notmuch', original_command[1:], command_environment) 30os.execvpe('@notmuch@/bin/notmuch', original_command[1:], command_environment)