diff options
Diffstat (limited to 'lvm.py')
-rw-r--r-- | lvm.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ def has_lvm(): if not (os.access("/usr/sbin/lvm", os.X_OK) or os.access("/sbin/lvm", os.X_OK)): return + + if iutil.getArch() == "s390" and not os.access("/proc/devices", os.R_OK): + return f = open("/proc/devices", "r") lines = f.readlines() |