mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-09-06 22:01:27 +00:00
profile: realpath all the things!
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
@@ -84,8 +84,8 @@ LsiRedirect *lsi_redirect_new_path_replacement(const char *source_path, const ch
|
||||
return NULL;
|
||||
}
|
||||
ret->type = LSI_REDIRECT_PATH;
|
||||
ret->path_source = strdup(source_path);
|
||||
ret->path_target = strdup(target_path);
|
||||
ret->path_source = realpath(source_path, NULL);
|
||||
ret->path_target = realpath(target_path, NULL);
|
||||
|
||||
if (!ret->path_source || !ret->path_target) {
|
||||
lsi_redirect_free(ret);
|
||||
|
||||
Reference in New Issue
Block a user