mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Add notification of cache flush on CNTRL-C exit
This commit is contained in:
@@ -575,6 +575,7 @@ void *signal_hand(void *ptr)
|
||||
if ( c[i]->thread )
|
||||
{
|
||||
nwipe_log( NWIPE_LOG_INFO, "Cancelling thread for %s", c[i]->device_name );
|
||||
nwipe_log( NWIPE_LOG_INFO, "Please be patient.. disk cache is being flushed" );
|
||||
pthread_cancel( c[i]->thread );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user