From 29038c06d69bb3737d10156cec6b03626b1f7ab6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 14 Jun 2008 06:14:02 +0000 Subject: [PATCH] ash: small cosmetic change --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/ash.c b/shell/ash.c index 0913a2f41..b490b69f1 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -5835,7 +5835,7 @@ parse_sub_pattern(char *arg, int inquotes) arg++; /* skip both \\, not just first one */ arg++; } - *idx++ = c; + *idx = c; /* NUL */ return repl; } -- 2.25.1