delete files before symlinking; log error messages
The symlink() function should remove existing files before creating symlinks, so scripts are idempotent. Log messages when various system calls fail (but don't make the whole script fail).
Loading
Please register or sign in to comment