cryptsetup status now returns zero for an active mapping; otherwise it returns one. --- cryptodev.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cryptodev.py b/cryptodev.py index cde919a..fcbf112 100644 --- a/cryptodev.py +++ b/cryptodev.py @@ -145,7 +145,7 @@ class LUKSDevice: stdout = "/dev/null", stderr = "/dev/null", searchPath = 1) - return not rc + return rc def formatDevice(self, devPrefix="/dev"): """Write a LUKS header onto the device.""" -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list