log attached drives
This commit is contained in:
parent
7748d49b54
commit
068413c15d
|
@ -298,7 +298,7 @@ void reHDD::searchDrives(list <Drive>* plistDrives)
|
|||
|
||||
if (outputfileHwinfo == NULL)
|
||||
{
|
||||
Logger::logThis()->error("Unable to scann attached drives");
|
||||
Logger::logThis()->error("Unable to scan attached drives");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
@ -310,6 +310,7 @@ void reHDD::searchDrives(list <Drive>* plistDrives)
|
|||
tmpDrive->state = Drive::NONE;
|
||||
tmpDrive->bIsOffline = false;
|
||||
plistDrives->push_back(*tmpDrive);
|
||||
Logger::logThis()->info("search drives: " + tmpDrive->getPath());
|
||||
}
|
||||
}
|
||||
fclose(outputfileHwinfo);
|
||||
|
|
Loading…
Reference in New Issue