From 131af4cf34f9685f3223d7c27f6c6a2eb5d26529 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 8 Feb 2025 15:29:30 +0100 Subject: Use `exec env --` instead of `exec --` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sshexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2