- _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);
- _link = NULL;
-
- // 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);