SHLVL in ash

Mike Frysinger vapier at gentoo.org
Thu Jan 2 19:54:45 UTC 2014


On Thursday 02 January 2014 11:55:51 Ron Yorston wrote:
> I've just been having a look at 1.22.0.  I note that BusyBox ash doesn't
> export SHLVL.  If whatever invokes ash doesn't have SHLVL set or doesn't
> have it exported each new shell has a SHLVL of 1:

correct.  busybox knows nothing of SHLVL.  it's just another env var to 
busybox.  so if you set/export/whatever it, then busybox will pass it along 
unmodified.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20140102/5db40ce3/attachment.asc>


More information about the busybox mailing list