Small cleanup to make i386/loader match efi/loader boot environment code

This commit is contained in:
allanjude 2017-04-03 04:29:57 +00:00
parent 7b7a452656
commit dc6489b52f

View File

@ -418,7 +418,7 @@ command_reloadbe(int argc, char *argv[])
/* There does not appear to be a ZFS pool here, exit without error */
return (CMD_OK);
}
err = zfs_bootenv(getenv("zfs_be_root"));
err = zfs_bootenv(root);
}
if (err != 0) {