idioms
This commit is contained in:
parent
22bedc900d
commit
93034f64f3
6 changed files with 12 additions and 18 deletions
|
|
@ -301,9 +301,8 @@ class RunRootTask(tasks.BaseTaskHandler):
|
|||
#also, check /proc/mounts just in case
|
||||
for dir in scan_mounts(rootdir):
|
||||
mounts.setdefault(dir, 1)
|
||||
mounts = mounts.keys()
|
||||
mounts = sorted(mounts.keys())
|
||||
# deeper directories first
|
||||
mounts.sort()
|
||||
mounts.reverse()
|
||||
failed = []
|
||||
self.logger.info("Unmounting (runroot): %s" % mounts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue