examples/nvme/hotplug: return 0 on success

Change-Id: Id19bef766fa2366208aced87ca3433e6ab05ff9b
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-11-30 21:18:44 -07:00
parent 9d025383eb
commit 051b059e26

View File

@ -987,6 +987,7 @@ int main(int argc, char **argv)
detect_hotplug(); detect_hotplug();
rc = 0;
worker = g_workers; worker = g_workers;
while (worker != NULL) { while (worker != NULL) {
if (rte_eal_wait_lcore(worker->lcore) < 0) { if (rte_eal_wait_lcore(worker->lcore) < 0) {