Fixed a li'l thinko.
This commit is contained in:
parent
a528dc7071
commit
6e25f92636
2
lash.c
2
lash.c
@ -1686,7 +1686,7 @@ int shell_main(int argc_l, char **argv_l)
|
|||||||
|
|
||||||
shell_context = 0;
|
shell_context = 0;
|
||||||
cwd=NULL;
|
cwd=NULL;
|
||||||
#ifdef BB_FEATURE_STANDALONE_SHELL
|
#ifdef BB_FEATURE_SH_STANDALONE_SHELL
|
||||||
/* These variables need re-initializing when recursing */
|
/* These variables need re-initializing when recursing */
|
||||||
local_pending_command = NULL;
|
local_pending_command = NULL;
|
||||||
job_list.head = NULL;
|
job_list.head = NULL;
|
||||||
|
2
sh.c
2
sh.c
@ -1686,7 +1686,7 @@ int shell_main(int argc_l, char **argv_l)
|
|||||||
|
|
||||||
shell_context = 0;
|
shell_context = 0;
|
||||||
cwd=NULL;
|
cwd=NULL;
|
||||||
#ifdef BB_FEATURE_STANDALONE_SHELL
|
#ifdef BB_FEATURE_SH_STANDALONE_SHELL
|
||||||
/* These variables need re-initializing when recursing */
|
/* These variables need re-initializing when recursing */
|
||||||
local_pending_command = NULL;
|
local_pending_command = NULL;
|
||||||
job_list.head = NULL;
|
job_list.head = NULL;
|
||||||
|
@ -1686,7 +1686,7 @@ int shell_main(int argc_l, char **argv_l)
|
|||||||
|
|
||||||
shell_context = 0;
|
shell_context = 0;
|
||||||
cwd=NULL;
|
cwd=NULL;
|
||||||
#ifdef BB_FEATURE_STANDALONE_SHELL
|
#ifdef BB_FEATURE_SH_STANDALONE_SHELL
|
||||||
/* These variables need re-initializing when recursing */
|
/* These variables need re-initializing when recursing */
|
||||||
local_pending_command = NULL;
|
local_pending_command = NULL;
|
||||||
job_list.head = NULL;
|
job_list.head = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user