mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 14:12:44 +02:00
util/nvmutil: reset mac in main
we currently only run the logic once, but i might expand nvmutil in the future, so that it can operate on multiple files. this would require using a different command syntax, e.g. getop-style syntax. this is a preventative bug fix, resetting global state. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -98,6 +98,8 @@ static void (*cmd)(void) = NULL;
|
|||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
mac = NULL;
|
||||||
|
|
||||||
argv0 = argv[0];
|
argv0 = argv[0];
|
||||||
if (argc < 2)
|
if (argc < 2)
|
||||||
usage();
|
usage();
|
||||||
|
|||||||
Reference in New Issue
Block a user