fix: cryptsetup close

This commit is contained in:
timeshifter
2021-12-01 21:02:28 +01:00
parent 5b4de7769e
commit a855c12583
+1 -1
View File
@@ -316,7 +316,7 @@ class Disk:
if not self._decrypted: if not self._decrypted:
raise ValueError(NOT_DECRYPTED, self._name) raise ValueError(NOT_DECRYPTED, self._name)
# TODO use run instead? # 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 self._decrypted = False