Merge pull request #406 from PartialVolume/fix_spurious_message_on_abort_before_wipe_starts_control_c

Fix spurious message on abort before wipe.
This commit is contained in:
PartialVolume
2022-02-25 15:47:18 +00:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -2689,8 +2689,8 @@ void* nwipe_gui_status( void* ptr )
}
}
/* Update screen if not blanked. */
if( nwipe_gui_blank == 0 )
/* Update data in statistics & main windows only if we're in 'gui' mode and only if a wipe has started */
if( nwipe_gui_blank == 0 && global_wipe_status == 1 )
{
if( terminate_signal != 1 )

View File

@@ -4,7 +4,7 @@
* used by configure to dynamically assign those values
* to documentation files.
*/
const char* version_string = "0.32.023";
const char* version_string = "0.32.024";
const char* program_name = "nwipe";
const char* author_name = "Martijn van Brummelen";
const char* email_address = "git@brumit.nl";
@@ -14,4 +14,4 @@ Modifications to original dwipe Copyright Andy Beverley <andy@andybev.com>\n\
This is free software; see the source for copying conditions.\n\
There is NO warranty; not even for MERCHANTABILITY or FITNESS\n\
FOR A PARTICULAR PURPOSE.\n";
const char* banner = "nwipe 0.32.023";
const char* banner = "nwipe 0.32.024";