mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
env: check and apply changes on delete/destroy
Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> Reviewed-by: Marek Vasut <marex@denx.de>
This commit is contained in:
committed by
Tom Rini
parent
c5983592e9
commit
152874b65b
@@ -359,7 +359,7 @@ int _do_env_set(int flag, int argc, char * const argv[])
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user