commit | 4cf38c1ccd0c41715633c1b724c30e9c235099d1 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 02 21:14:39 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 02 22:10:56 2016 +0800 |
tree | 7b0b4b40f59e2a644fe0a78d09050dc3b4157c21 | |
parent | 0e4c9599468ab102e6a612439db6df0248410483 [diff] |
builtin: Fix echo -n early termination The commit 7a784244625d5489c0fc779201c349555dc5f8bc ("[BUILTIN] Simplify echo command") broke echo -n by making it always terminate after printing the first argument. This patch fixes this by only terminating when we have reached the end of the arguments. Fixes: 7a784244625d ("[BUILTIN] Simplify echo command") Reported-by: Luigi Tarenga <luigi.tarenga@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>