diff --git a/clusterd/clusterd b/clusterd/clusterd index 624ec61..3e439b2 100755 --- a/clusterd/clusterd +++ b/clusterd/clusterd @@ -591,7 +591,7 @@ sub udp_rx_filedata { if ($st_want->type eq 'L') { if (!$st_is || $st_is->type ne 'L' || $st_is->target ne $st_want->target) { - $st_is and (unlink($filename) or return warn "$filename: failed to unlink: $!\n"); + $st_is and (unlink($filename) or return warn "$filename: failed to unlink: $!\n"); symlink($st_want->target,$filename) or return warn "$filename: failed to create symlink: $!\n"; lchown($st_want->uid,$st_want->gid,$filename); lmtime($st_want->mtime,$filename);