From c7ae26e1793f3859a5adebd03c0b0485ce6f31ea Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Mon, 13 Jan 2014 10:14:08 +0000 Subject: ash: revert initialisation of SHLVL: fixed upstream --- shell/ash.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index a916f2772..6b7c9f2a2 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -13600,10 +13600,6 @@ init(void) pw = xgetpwuid(getuid()); setup_environment(pw->pw_shell, SETUP_ENV_CHANGEENV|SETUP_ENV_NO_CHDIR, pw); - -#if ENABLE_ASH_BASH_COMPAT - setvareq("SHLVL=0", VEXPORT|VTEXTFIXED); -#endif } #endif for (envp = environ; envp && *envp; envp++) { -- cgit v1.2.3-55-g6feb