mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Merge pull request #175 from PartialVolume/show_percentage_on_completion
Show percentage completed, on completion of wipe.
This commit is contained in:
@@ -1983,7 +1983,7 @@ void *nwipe_gui_status( void *ptr )
|
||||
|
||||
else
|
||||
{
|
||||
if( c[i]->result == 0 ) { mvwprintw( main_window, yy++, 4, "(SUCCESS!) " ); }
|
||||
if( c[i]->result == 0 ) { mvwprintw( main_window, yy++, 4, "[%05.2f%% complete, SUCCESS! ", c[i]->round_percent); }
|
||||
else if( c[i]->signal ) { mvwprintw( main_window, yy++, 4, "(>>> FAILURE! <<<, signal %i) ", c[i]->signal ); }
|
||||
else { mvwprintw( main_window, yy++, 4, "(>>>FAILURE!<<<, code %i) ", c[i]->result ); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user