fixed 'ignoring return value' problem in symlink creation
see 215121f209f3e09a5ad3ce4fc5ed052d9d66708d
This commit is contained in:
parent
cd6600a83f
commit
f38e6e15f4
@ -80,7 +80,7 @@ logFile initLogger(char *directoryPath)
|
||||
strcpy(latestFilePath, filePath);
|
||||
|
||||
if (access(latestBuffer, R_OK) == 0) { unlink(latestBuffer); }
|
||||
symlink(latestFilePath + (strlen(WRITE_DIR) + 1), latestBuffer); //CREATE
|
||||
(void) (symlink(latestFilePath + (strlen(WRITE_DIR) + 1), latestBuffer) + 1); //TODO: Try to create some function for processing exit value //CREATE
|
||||
|
||||
deallocation:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user