cmd/run: replace fallback command with "/usr/bin/env sh" for better compatibility

Signed-off-by: Myxa <git@myxa.me>
This commit is contained in:
Myxa 2023-12-23 21:58:52 +04:00
parent 4cc8c9b37b
commit cdc803cd71
1 changed files with 1 additions and 2 deletions

View File

@ -39,8 +39,7 @@ var (
preserveFDs uint
release string
}
runFallbackCommands = [][]string{{"/bin/bash", "-l"}}
runFallbackCommands = [][]string{{"/usr/bin/env", "sh", "-l"}}
runFallbackWorkDirs = []string{"" /* $HOME */}
)