progress dots added

This commit is contained in:
Gerold Gruber
2023-11-04 13:53:26 +01:00
parent 63c64b91e4
commit 2ac6ebe7ea
2 changed files with 7 additions and 0 deletions

View File

@@ -70,6 +70,9 @@ int nwipe_device_scan( nwipe_context_t*** c )
while( ( dev = ped_device_get_next( dev ) ) )
{
/* to have some progress indication. can help if there are many/slow disks */
fprintf( stderr, "." );
if( check_device( c, dev, dcount ) )
dcount++;
@@ -95,6 +98,8 @@ int nwipe_device_get( nwipe_context_t*** c, char** devnamelist, int ndevnames )
for( i = 0; i < ndevnames; i++ )
{
/* to have some progress indication. can help if there are many/slow disks */
fprintf( stderr, "." );
dev = ped_device_get( devnamelist[i] );
if( !dev )

View File

@@ -893,6 +893,8 @@ void nwipe_log_summary( nwipe_context_t** ptr, int nwipe_selected )
/* Create the PDF report/certificate */
if( strcmp( nwipe_options.PDFreportpath, "noPDF" ) != 0 )
{
/* to have some progress indication. can help if there are many/slow disks */
fprintf( stderr, "." );
create_pdf( c[i] );
}
}