Skip to content

Commit 6ecbf02

Browse files
authored
Fix autotools plugin when hardlink already exists
1 parent 9bf6e15 commit 6ecbf02

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/autotools/util_rt.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ function rtOpFiles( $files, $src, $dst, $op, $dbg = false )
232232
{
233233
case "HardLink":
234234
{
235-
if( link( $source, $dest ) )
236-
break;
235+
link( $source, $dest );
236+
break;
237237
}
238238
case "Copy":
239239
{
@@ -355,4 +355,4 @@ function rtExec( $cmds, $hash, $dbg )
355355
return null;
356356
}
357357
else return $req;
358-
}
358+
}

0 commit comments

Comments
 (0)