commit | 152874b65b8060e7b026933ce332a9687256e28c | [log] [tgz] |
---|---|---|
author | Gerlando Falauto <gerlando.falauto@keymile.com> | Fri Aug 24 00:11:40 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Sep 18 12:01:52 2012 -0700 |
tree | 7b52fcce948031ab356eb3d480f3eea6cd4bf301 | |
parent | c5983592e912835fe9ed00b9d98b05580c460eae [diff] [blame] |
env: check and apply changes on delete/destroy Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> Reviewed-by: Marek Vasut <marex@denx.de>
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index ddf3b8d..310ca16 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c
@@ -359,7 +359,7 @@ /* Delete only ? */ if (argc < 3 || argv[2] == NULL) { - int rc = hdelete_r(name, &env_htab); + int rc = hdelete_r(name, &env_htab, 0); return !rc; }