emunet: Fix init error checking.
Otherwise emunet doesn't expose any cards.
This commit is contained in:
parent
237510486a
commit
fe6695b7d6
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ static int registered = 0;
|
|||
|
||||
GRUB_MOD_INIT(emunet)
|
||||
{
|
||||
if (grub_emunet_create (&emucard.mtu))
|
||||
if (!grub_emunet_create (&emucard.mtu))
|
||||
{
|
||||
grub_net_card_register (&emucard);
|
||||
registered = 1;
|
||||
|
|
Loading…
Reference in a new issue