log attached drives

This commit is contained in:
Hendrik Schutter 2022-01-26 13:52:21 +01:00
parent 7748d49b54
commit 068413c15d
1 changed files with 2 additions and 1 deletions

View File

@ -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);