diff options
-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 0dc8cc2..40511fc 100644 --- a/notmuch-ssh-server +++ b/notmuch-ssh-server | |||
@@ -37,4 +37,4 @@ config_environment = config[config_section] if config.has_section(config_section | |||
37 | logging.info("Config environment: %s", 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', original_command[1:], {**os.environ, **config_environment}) | 40 | os.execvpe('@notmuch@/bin/notmuch', ['notmuch'] + original_command[1:], {**os.environ, **config_environment}) |