The force parameter tells VeraCrypt to shut down, no matter what. Your inclusion of force is up to you, depending on your situation. For the demo, we’ll include it. /force And that’s all there is to it. It’s a best practice to dismount all of your volumes when you are done w...
// Termination signals are handled by a separate process to allow clean dismount on shutdown struct sigaction action; Memory::Zero (&action, sizeof (action)); action.sa_handler = SIG_IGN;sigaction (SIGINT, &action, nullptr); sigaction (SIGQUIT, &action, nullptr); ...