- Link = VFS_GetAbsPath( Link );
- if(!Link) {
- Warning("Path '%s' is badly formed", Link);
- return -1;
- }
-
- // Get true path and node
- destNode = VFS_ParsePath( Link, &realLink );
- free(Link);
-
- // Check if destination exists
- if(!destNode) {
- Warning("File '%s' does not exist, symlink not created", Link);
+ realLink = VFS_GetAbsPath( Link );
+ if(!realLink) {
+ Log_Warning("VFS", "Path '%s' is badly formed", Link);
+ LEAVE('i', -1);