[unpackfs] Be more resilient to globalStorage weirdness

- If no extraMount is defined, just don't mount anything
main
Adriaan de Groot 6 years ago
parent 823b5e480e
commit 2d684bb385

@ -61,6 +61,8 @@ def list_excludes(destination):
"""
lst = []
extra_mounts = globalstorage.value("extraMounts")
if extra_mounts is None:
extra_mounts = []
for extra_mount in extra_mounts:
mount_point = extra_mount["mountPoint"]

Loading…
Cancel
Save