diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-03-08 23:16:28 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-03-08 23:16:28 +0100 |
commit | 630c2d9fc57e6b012123fdf766d0febc6d876a98 (patch) | |
tree | d999ff8634d9948082019ed715e1b9e74a1c41d4 | |
parent | 913e4e42d80e2bf64adeddb3814a1b56660b190d (diff) | |
download | utils-630c2d9fc57e6b012123fdf766d0febc6d876a98.tar utils-630c2d9fc57e6b012123fdf766d0febc6d876a98.tar.gz utils-630c2d9fc57e6b012123fdf766d0febc6d876a98.tar.bz2 utils-630c2d9fc57e6b012123fdf766d0febc6d876a98.tar.xz utils-630c2d9fc57e6b012123fdf766d0febc6d876a98.zip |
...
-rw-r--r-- | notmuch-ssh-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-ssh-server b/notmuch-ssh-server index 3c5f678..a9ee4c3 100644 --- a/notmuch-ssh-server +++ b/notmuch-ssh-server | |||
@@ -34,7 +34,7 @@ config_section = original_command[0] | |||
34 | logging.debug("Config section: %s", config_section) | 34 | logging.debug("Config section: %s", config_section) |
35 | 35 | ||
36 | config_environment = config[config_section] if config.has_section(config_section) else config[config.default_section] | 36 | config_environment = config[config_section] if config.has_section(config_section) else config[config.default_section] |
37 | logging.info("Config environment: %s", repr(config_environment)) | 37 | logging.info("Config environment: %s", {**config_environment}) |
38 | 38 | ||
39 | logging.info("notmuch %s", original_command[1:]) | 39 | logging.info("notmuch %s", original_command[1:]) |
40 | os.execvpe('@notmuch@/bin/notmuch', ['notmuch'] + original_command[1:], {**os.environ, **config_environment}) | 40 | os.execvpe('@notmuch@/bin/notmuch', ['notmuch'] + original_command[1:], {**os.environ, **config_environment}) |