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

This commit is contained in:
Allan Jude 2017-04-03 04:29:57 +00:00
parent 4f711c21ba
commit f2f3d2422d

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) {