fix: cryptsetup close
This commit is contained in:
1 parent
5b4de7769e
commit
a855c12583
1 file changed
+1
-1
+1
-1
@@ -316,7 +316,7 @@ class Disk:
|
||||
if not self._decrypted:
|
||||
raise ValueError(NOT_DECRYPTED, self._name)
|
||||
# TODO use run instead?
|
||||
get_output_of_command([config.CRYPTSETUP, "close", self._name])
|
||||
get_output_of_command([config.CRYPTSETUP, "close", self._mapper_entry])
|
||||
self._decrypted = False
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user