SHLVL in ash

Denys Vlasenko vda.linux at googlemail.com
Tue Jan 7 15:11:55 UTC 2014


On Mon, Jan 6, 2014 at 10:28 AM, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> Did I forget to export it when it was not exported yet?
> Patches welcome..

Going to do this:

-               setvar2("SHLVL", utoa(p ? atoi(p) + 1 : 1));
+               setvar("SHLVL", utoa(p ? atoi(p) + 1: 1), VEXPORT);


More information about the busybox mailing list