FIXES #486: replace realpath with abspath

This commit is contained in:
Muayyad alsadi 2022-04-27 13:01:24 +03:00
parent 89d2062579
commit 9c29c8914f

View File

@ -130,7 +130,7 @@ def parse_short_mount(mount_str, basedir):
# User-relative path
# - ~/configs:/etc/configs/:ro
mount_type = "bind"
mount_src = os.path.realpath(
mount_src = os.path.abspath(
os.path.join(basedir, os.path.expanduser(mount_src))
)
else: