Commit 7e8abee0 authored by Thibault VINCENT's avatar Thibault VINCENT
Browse files

fix: compatibility with Debian Lenny lvm utils

parent 03874845
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -296,7 +296,7 @@ class LVM(object):
            '''
            # execute create command
            if Exec.silent([LVM.LVCREATE,
                            '-L', '%iB' % size,
                            '-L', '%iK' % (int(size)/1024),
                            '-n', name,
                            self.name]) != 0:
                raise LVMError('error creating LV')