diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index d2c5c5d50..51b627fcc 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -7370,6 +7370,8 @@ subevalvar(char *start, char *str, int strloc, | |||
7370 | char *restart_detect = stackblock(); | 7370 | char *restart_detect = stackblock(); |
7371 | if (quotes && *loc == '\\') { | 7371 | if (quotes && *loc == '\\') { |
7372 | STPUTC(CTLESC, expdest); | 7372 | STPUTC(CTLESC, expdest); |
7373 | if (stackblock() != restart_detect) | ||
7374 | goto restart; | ||
7373 | len++; | 7375 | len++; |
7374 | } | 7376 | } |
7375 | STPUTC(*loc, expdest); | 7377 | STPUTC(*loc, expdest); |