[PATCH 1/1] tools: efivar.py without arguments

Paulo Alcantara pc at cjr.nz
Mon Jan 11 15:12:59 CET 2021


Heinrich Schuchardt <xypron.glpk at gmx.de> writes:

> When tools: efivar.py is called without arguments an error occurs:
>
> Traceback (most recent call last):
>   File "tools/efivar.py", line 380, in <module>
>     main()
>   File "tools/efivar.py", line 360, in main
>     args.func(args)
> AttributeError: 'Namespace' object has no attribute 'func'
>
> Show the online help if the arguments do not specify a function.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  tools/efivar.py | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Reviewed-by: Paulo Alcantara (SUSE) <pc at cjr.nz>


More information about the U-Boot mailing list