Exit with error if no device was found

pull/1/head
Oliver Smith 4 months ago
parent 1bf48da7a8
commit 313de8d95e
  1. 2
      rtl8168-eeprom.c

@ -498,6 +498,8 @@ static void iterate_devices(struct pci_access *pa, char *filter_id, char *filter
if (new_mac)
exit(0);
}
die("no matching device found!\n");
}
int main(int argc, char **argv)

Loading…
Cancel
Save