From 068413c15d44be83bec4b4ad1234d3c907eb3e10 Mon Sep 17 00:00:00 2001 From: localhorst Date: Wed, 26 Jan 2022 13:52:21 +0100 Subject: [PATCH] log attached drives --- src/reHDD.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/reHDD.cpp b/src/reHDD.cpp index 32c5b7d..895745f 100644 --- a/src/reHDD.cpp +++ b/src/reHDD.cpp @@ -298,7 +298,7 @@ void reHDD::searchDrives(list * 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 * plistDrives) tmpDrive->state = Drive::NONE; tmpDrive->bIsOffline = false; plistDrives->push_back(*tmpDrive); + Logger::logThis()->info("search drives: " + tmpDrive->getPath()); } } fclose(outputfileHwinfo);