fix dryrun

This commit is contained in:
Hendrik Schutter 2024-06-01 14:23:53 +02:00
parent fb31becf1a
commit 76c728c241
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@
#endif
// 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 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
init_pair(COLOR_AREA_ENTRY_SELECTED, COLOR_WHITE, COLOR_GREEN);
#elif
#else
init_pair(COLOR_AREA_ENTRY_SELECTED, COLOR_WHITE, COLOR_RED);
#endif
@ -55,7 +55,7 @@ void TUI::initTUI()
#ifdef DRYRUN
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 ");
#endif
Logger::logThis()->info("UI successfully initialized");