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 <Kenta.Tada@sony.com>
This commit is contained in:
Kenta Tada
2020-11-09 17:05:50 +09:00
parent 27227a9358
commit 896da0b95e
+1 -1
View File
@@ -124,7 +124,7 @@ passing of file descriptors -- [details below](#runc-modes)). As an example
(assuming that `terminal: false` is set in `config.json`):
```
% echo input | runc run some_container > /tmp/log.out 2>& /tmp/log.err
% echo input | runc run some_container > /tmp/log.out 2> /tmp/log.err
```
Here the container's various `stdio` file descriptors will be substituted with