examples/nvme/hotplug: return 0 on success
Change-Id: Id19bef766fa2366208aced87ca3433e6ab05ff9b Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
9d025383eb
commit
051b059e26
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user