aboutsummaryrefslogtreecommitdiffstats
path: root/sshexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshexec.c')
-rw-r--r--sshexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshexec.c b/sshexec.c
index 9306c5c..a6db757 100644
--- a/sshexec.c
+++ b/sshexec.c
@@ -245,7 +245,7 @@ main(int argc_unused, char *argv[])
build_command_escape(dir);
build_command_asis(" && ");
}
- build_command_asis("exec --");
+ build_command_asis("exec env --");
for (; *argv; argv++) {
build_command_asis(" ");
build_command_escape(*argv);