aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 87df555dd..09e8725bf 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -8096,6 +8096,8 @@ subevalvar(char *start, char *str, int strloc,
8096 char *restart_detect = stackblock(); 8096 char *restart_detect = stackblock();
8097 if (quotes && *loc == '\\') { 8097 if (quotes && *loc == '\\') {
8098 STPUTC(CTLESC, expdest); 8098 STPUTC(CTLESC, expdest);
8099 if (stackblock() != restart_detect)
8100 goto restart;
8099 len++; 8101 len++;
8100 } 8102 }
8101 STPUTC(*loc, expdest); 8103 STPUTC(*loc, expdest);