diff options
author | Denys Vlasenko | 2020-02-19 15:30:20 +0100 |
---|---|---|
committer | Denys Vlasenko | 2020-02-20 09:36:51 +0100 |
commit | 54bef2a8efd21e9992a9d26cf30c5b26cbc0e21a (patch) | |
tree | d7b25fc37724cbd4fe0820663648a45ed77c9565 /shell/ash_test/ash-redir/redir_exec1.right | |
parent | 7eb8eecbbc752d04381f35d196bbdf1e3b17e2d1 (diff) | |
download | busybox-54bef2a8efd21e9992a9d26cf30c5b26cbc0e21a.zip busybox-54bef2a8efd21e9992a9d26cf30c5b26cbc0e21a.tar.gz |
ash: eval: Fail immediately with redirections errors for simple command
Upstream commit:
Date: Sat, 19 May 2018 02:39:54 +0800
eval: Fail immediately with redirections errors for simple command
Previously, dash would continue to perform variable expansions
even if a redirection error occured. This patch changes it so
that it fails immediately.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-redir/redir_exec1.right')
-rw-r--r-- | shell/ash_test/ash-redir/redir_exec1.right | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/ash_test/ash-redir/redir_exec1.right b/shell/ash_test/ash-redir/redir_exec1.right index c98455b..26a664e 100644 --- a/shell/ash_test/ash-redir/redir_exec1.right +++ b/shell/ash_test/ash-redir/redir_exec1.right @@ -1,2 +1 @@ ./redir_exec1.tests: line 1: can't create /cant/be/created: nonexistent directory -First |