Skip to content

Commit

Permalink
cmd/run: replace fallback command with "/usr/bin/env sh" for better c…
Browse files Browse the repository at this point in the history
…ompatibility

Signed-off-by: Myxa <[email protected]>
  • Loading branch information
dvtfl committed Dec 23, 2023
1 parent 4cc8c9b commit cdc803c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ var (
preserveFDs uint
release string
}

runFallbackCommands = [][]string{{"/bin/bash", "-l"}}
runFallbackCommands = [][]string{{"/usr/bin/env", "sh", "-l"}}
runFallbackWorkDirs = []string{"" /* $HOME */}
)

Expand Down

0 comments on commit cdc803c

Please sign in to comment.