Skip to content

Commit cdc803c

Browse files
committed
cmd/run: replace fallback command with "/usr/bin/env sh" for better compatibility
Signed-off-by: Myxa <[email protected]>
1 parent 4cc8c9b commit cdc803c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cmd/run.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ var (
3939
preserveFDs uint
4040
release string
4141
}
42-
43-
runFallbackCommands = [][]string{{"/bin/bash", "-l"}}
42+
runFallbackCommands = [][]string{{"/usr/bin/env", "sh", "-l"}}
4443
runFallbackWorkDirs = []string{"" /* $HOME */}
4544
)
4645

0 commit comments

Comments
 (0)