Skip to content
Merged
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: 1 addition & 4 deletions src/libcrun/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1040,10 +1040,7 @@ get_realpath_to_file (int dirfd, const char *path_name, char **absolute_path, li
get_proc_self_fd_path (target_fd_path, targetfd);
len = safe_readlinkat (AT_FDCWD, target_fd_path, absolute_path, 0, err);
if (UNLIKELY (len < 0))
{
crun_error_release (err);
return crun_make_error (err, errno, "error unable to provide absolute path to file `%s`", path_name);
}
return crun_error_wrap (err, "error unable to provide absolute path to file `%s`", path_name);
}

return 0;
Expand Down
Loading