[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] [RHEL5.4] cryptsetup status reversed its exit codes. (#499824)
- From: David Lehman <dlehman redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] [RHEL5.4] cryptsetup status reversed its exit codes. (#499824)
- Date: Thu, 21 May 2009 18:50:16 -0500
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]