fix: cryptsetup close
This commit is contained in:
+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