fix dryrun
This commit is contained in:
parent
fb31becf1a
commit
76c728c241
@ -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
|
||||
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user