Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,11 @@ function find_persist_dir_root(rootfs_path::String, dir_hints::Vector{String} =
push!(probe_args, "--userxattr")
end

real_rootfs_path = try; realpath(rootfs_path); catch; return false; end
real_mount_path = try; realpath(mount_path); catch; return false; end

return success(run(pipeline(ignorestatus(
`$(probe_exe) $(probe_args) $(realpath(rootfs_path)) $(realpath(mount_path))`
`$(probe_exe) $(probe_args) $(real_rootfs_path) $(real_mount_path)`
); stdout = verbose ? stdout : devnull, stderr = verbose ? stderr : devnull)))
end

Expand Down
Loading