diff --git a/src/gui/hdd_menu.cpp b/src/gui/hdd_menu.cpp index f23843cc0..382b8ccef 100644 --- a/src/gui/hdd_menu.cpp +++ b/src/gui/hdd_menu.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -197,6 +198,7 @@ void CHDDMenuHandler::getBlkIds() hdd_list.push_back(hdd); } fclose(f); + waitpid(pid, NULL, 0); /* beware of the zombie apocalypse! */ } std::string CHDDMenuHandler::getDefaultPart(std::string dev)