Fix S.M.A.R.T. data reading #63

Merged
localhorst merged 5 commits from bugfix/smart into master 2024-06-02 08:44:46 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 76c728c241 - Show all commits

View File

@ -31,7 +31,7 @@
#endif #endif
// Logic // Logic
#define DRYRUN //don´t touch the drives //#define DRYRUN //don´t touch the drives
#define FROZEN_ALERT // show alert if drive is frozen #define FROZEN_ALERT // show alert if drive is frozen
#define ZERO_CHECK // check drive after shred if all bytes are zero, show alert if this fails #define ZERO_CHECK // check drive after shred if all bytes are zero, show alert if this fails

View File

@ -46,7 +46,7 @@ void TUI::initTUI()
#ifdef DRYRUN #ifdef DRYRUN
init_pair(COLOR_AREA_ENTRY_SELECTED, COLOR_WHITE, COLOR_GREEN); init_pair(COLOR_AREA_ENTRY_SELECTED, COLOR_WHITE, COLOR_GREEN);
#elif #else
init_pair(COLOR_AREA_ENTRY_SELECTED, COLOR_WHITE, COLOR_RED); init_pair(COLOR_AREA_ENTRY_SELECTED, COLOR_WHITE, COLOR_RED);
#endif #endif
@ -55,7 +55,7 @@ void TUI::initTUI()
#ifdef DRYRUN #ifdef DRYRUN
mvprintw(0, 2, "reHDD - HDD refurbishing tool - GPL 3.0 DRYRUN is active! Don't use in production!"); mvprintw(0, 2, "reHDD - HDD refurbishing tool - GPL 3.0 DRYRUN is active! Don't use in production!");
#elif #else
mvprintw(0, 2, "reHDD - HDD refurbishing tool - GPL 3.0 "); mvprintw(0, 2, "reHDD - HDD refurbishing tool - GPL 3.0 ");
#endif #endif
Logger::logThis()->info("UI successfully initialized"); Logger::logThis()->info("UI successfully initialized");