mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
As vodz pointed out, setting unset_env to NULL is sufficient
This commit is contained in:
parent
7f9de02ca6
commit
1b1942f93d
@ -62,13 +62,9 @@ extern int env_main(int argc, char** argv)
|
|||||||
char **ep, *p;
|
char **ep, *p;
|
||||||
char *cleanenv[1] = { NULL };
|
char *cleanenv[1] = { NULL };
|
||||||
unsigned long opt;
|
unsigned long opt;
|
||||||
llist_t list, *unset_env;
|
llist_t *unset_env = NULL;
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
|
||||||
list.data = NULL;
|
|
||||||
list.link = NULL;
|
|
||||||
unset_env = &list;
|
|
||||||
|
|
||||||
bb_opt_complementaly = "u*";
|
bb_opt_complementaly = "u*";
|
||||||
bb_applet_long_options = env_long_options;
|
bb_applet_long_options = env_long_options;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user