diff --git a/src/pypungi/splittree.py b/src/pypungi/splittree.py index a7111cb6..2268b296 100644 --- a/src/pypungi/splittree.py +++ b/src/pypungi/splittree.py @@ -109,13 +109,13 @@ self.reserve_size : Additional size needed to be reserved on the first disc. """Gets the size as reported by du -sL""" if blocksize: - p = os.popen("du -sL --block-size=1 %s" % path, 'r') + p = os.popen("du -slL --block-size=1 %s" % path, 'r') thesize = p.read() p.close() thesize = long(string.split(thesize)[0]) return thesize else: - p = os.popen("du -sLh %s" % path, 'r') + p = os.popen("du -slLh %s" % path, 'r') thesize = p.read() p.close() thesize = string.split(thesize)[0]