summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2020-03-08 23:15:05 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2020-03-08 23:15:05 +0100
commit913e4e42d80e2bf64adeddb3814a1b56660b190d (patch)
treedfea7cbbd376a0e128f19e9884673e33dd8b16d9
parent486fa069b37211c1124586490f596747600f698f (diff)
downloadutils-913e4e42d80e2bf64adeddb3814a1b56660b190d.tar
utils-913e4e42d80e2bf64adeddb3814a1b56660b190d.tar.gz
utils-913e4e42d80e2bf64adeddb3814a1b56660b190d.tar.bz2
utils-913e4e42d80e2bf64adeddb3814a1b56660b190d.tar.xz
utils-913e4e42d80e2bf64adeddb3814a1b56660b190d.zip
...
-rw-r--r--notmuch-ssh-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-ssh-server b/notmuch-ssh-server
index 40511fc..3c5f678 100644
--- a/notmuch-ssh-server
+++ b/notmuch-ssh-server
@@ -34,7 +34,7 @@ config_section = original_command[0]
34logging.debug("Config section: %s", config_section) 34logging.debug("Config section: %s", config_section)
35 35
36config_environment = config[config_section] if config.has_section(config_section) else config[config.default_section] 36config_environment = config[config_section] if config.has_section(config_section) else config[config.default_section]
37logging.info("Config environment: %s", config_environment) 37logging.info("Config environment: %s", repr(config_environment))
38 38
39logging.info("notmuch %s", original_command[1:]) 39logging.info("notmuch %s", original_command[1:])
40os.execvpe('@notmuch@/bin/notmuch', ['notmuch'] + original_command[1:], {**os.environ, **config_environment}) 40os.execvpe('@notmuch@/bin/notmuch', ['notmuch'] + original_command[1:], {**os.environ, **config_environment})