Add notification of cache flush on CNTRL-C exit

This commit is contained in:
PartialVolume
2019-11-10 11:20:36 +00:00
parent b4d82ec19b
commit dd3828008d

View File

@@ -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 );
}
}