summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-06-19 11:30:29 -0400
committerTom Rini <[email protected]>2022-06-19 11:30:29 -0400
commit700cff2328333ad81ef7e0e303edb336224614b4 (patch)
treebe48c4913994853278537ab895d4cfc42a4bf231 /cmd
parentaad77c215cdcbb11ee39db3039374be638cfcddb (diff)
parent68edbed454b863dbcd197e19e1ab26a0a05c7d85 (diff)
Merge tag 'efi-2022-07-rc5-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2020-07-rc5-2 Documentation: * man-pages for booti and printenv UEFI * correct return value for printenv -e command * initialize console size late
Diffstat (limited to 'cmd')
-rw-r--r--cmd/nvedit_efi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/nvedit_efi.c b/cmd/nvedit_efi.c
index 7ebb14e25fe..770877c5272 100644
--- a/cmd/nvedit_efi.c
+++ b/cmd/nvedit_efi.c
@@ -182,8 +182,10 @@ static int efi_dump_var_all(int argc, char *const argv[],
}
free(var_name16);
- if (!match && argc == 1)
+ if (!match && argc == 1) {
printf("Error: \"%s\" not defined\n", argv[0]);
+ return CMD_RET_FAILURE;
+ }
return CMD_RET_SUCCESS;
}