return -2;
}
+ if (engine->isMounted()) {
+ INFO("Already mounted");
+ return 0;
+ }
+
engine->mount(keyManager.getMasterKey(pwData), getOptions());
context.notify("InternalEncryption::mount");
return -1;
}
+ if (!engine->isMounted()) {
+ INFO("Already umounted");
+ return 0;
+ }
+
INFO("Close all processes using internal storage...");
stopDependedSystemdServices();
INFO("Umount internal storage...");