Clear LUKS label when closing crypt.
This commit is contained in:
parent
96ceadd3be
commit
12c03cfeff
|
@ -313,6 +313,7 @@ bool luks::cryptClose(const QString& deviceNode)
|
|||
m_innerFs = nullptr;
|
||||
|
||||
m_passphrase.clear();
|
||||
setLabel({});
|
||||
|
||||
m_isCryptOpen = (m_innerFs != nullptr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue