Commit 80c18dd
committed
Fix a non-POSIX shell redirection in entrypoints
Since we switched entrypoint shebangs from `/bin/bash` to `/bin/sh` (under the hood: `dash` on Debian, `ash` on Alpine) in d70ebaa, entrypoints must be POSIX compliant.
Unfortunately, the `&>` redirection is not POSIX-compliant and resulted in the left-hand command to be executed in background (without stdout/stdin redirection) because of the `&` character.
This commit uses a POSIX-compliant way to redirect both stdin and stdout to `/dev/null`.1 parent a22d9e7 commit 80c18dd
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments