Skip to content

Commit 896da0b

Browse files
Kenta TadaKenta Tada
authored andcommitted
docs: terminals: modify the example of Pass-Through mode.
This commit removes the unnecessary ampersand. Especially, it causes the error of "ambiguous redirect" when use bash. Signed-off-by: Kenta Tada <[email protected]>
1 parent 27227a9 commit 896da0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/terminals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ passing of file descriptors -- [details below](#runc-modes)). As an example
124124
(assuming that `terminal: false` is set in `config.json`):
125125

126126
```
127-
% echo input | runc run some_container > /tmp/log.out 2>& /tmp/log.err
127+
% echo input | runc run some_container > /tmp/log.out 2> /tmp/log.err
128128
```
129129

130130
Here the container's various `stdio` file descriptors will be substituted with

0 commit comments

Comments
 (0)