From 896da0b95e1bde04818629e1482c38a53ea72d57 Mon Sep 17 00:00:00 2001 From: Kenta Tada Date: Mon, 9 Nov 2020 17:05:50 +0900 Subject: [PATCH] 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 --- docs/terminals.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/terminals.md b/docs/terminals.md index 649675c9e..403ca24a8 100644 --- a/docs/terminals.md +++ b/docs/terminals.md @@ -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