diff options
Diffstat (limited to 'bin/sh/main.c')
-rw-r--r-- | bin/sh/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c index 32eb82a..7d00586 100644 --- a/bin/sh/main.c +++ b/bin/sh/main.c @@ -253,12 +253,13 @@ cmdloop(top) evaltree(n, 0); } popstackmark(&smark); + setstackmark(&smark); if (evalskip == SKIPFILE) { evalskip = 0; break; } } - popstackmark(&smark); /* unnecessary */ + popstackmark(&smark); } |