Do not allow moving open luks volumes.
This commit is contained in:
parent
47cb6752ba
commit
ecbbdb3b1d
|
@ -70,6 +70,8 @@ public:
|
||||||
return cmdSupportNone;
|
return cmdSupportNone;
|
||||||
}
|
}
|
||||||
CommandSupportType supportMove() const override {
|
CommandSupportType supportMove() const override {
|
||||||
|
if (m_isCryptOpen)
|
||||||
|
return cmdSupportNone;
|
||||||
return m_Move;
|
return m_Move;
|
||||||
}
|
}
|
||||||
CommandSupportType supportCheck() const override {
|
CommandSupportType supportCheck() const override {
|
||||||
|
|
Loading…
Reference in New Issue