diff --git a/examples/nvme/hotplug/hotplug.c b/examples/nvme/hotplug/hotplug.c index 6fdf4c3f4..b929f0a52 100644 --- a/examples/nvme/hotplug/hotplug.c +++ b/examples/nvme/hotplug/hotplug.c @@ -987,6 +987,7 @@ int main(int argc, char **argv) detect_hotplug(); + rc = 0; worker = g_workers; while (worker != NULL) { if (rte_eal_wait_lcore(worker->lcore) < 0) {