Skip to content

Commit bfb2319

Browse files
committed
Check write for destination
1 parent b06e184 commit bfb2319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

os/src/FileOps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ object exists extends Function1[Path, Boolean] {
361361
object hardlink {
362362
def apply(link: Path, dest: Path) = {
363363
checker.value.onWrite(link)
364-
checker.value.onRead(dest)
364+
checker.value.onWrite(dest)
365365
Files.createLink(link.wrapped, dest.wrapped)
366366
}
367367
}

0 commit comments

Comments
 (0)