Do not allow moving open luks volumes.

This commit is contained in:
Andrius Štikonas 2016-05-18 00:46:08 +01:00
parent 47cb6752ba
commit ecbbdb3b1d
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ public:
return cmdSupportNone;
}
CommandSupportType supportMove() const override {
if (m_isCryptOpen)
return cmdSupportNone;
return m_Move;
}
CommandSupportType supportCheck() const override {