diff options
Diffstat (limited to 'common/cli_hush.c')
-rw-r--r-- | common/cli_hush.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cli_hush.c b/common/cli_hush.c index cf1e273..a62af07 100644 --- a/common/cli_hush.c +++ b/common/cli_hush.c @@ -1849,8 +1849,7 @@ static int run_list_real(struct pipe *pi) continue; } else { /* insert new value from list for variable */ - if (pi->progs->argv[0]) - free(pi->progs->argv[0]); + free(pi->progs->argv[0]); pi->progs->argv[0] = *list++; #ifndef __U_BOOT__ pi->progs->glob_result.gl_pathv[0] = |