From 6ecbf02e56a467ede39e897bb194d5a68f63f3fc Mon Sep 17 00:00:00 2001 From: stickz Date: Thu, 11 Jul 2024 17:13:57 -0400 Subject: [PATCH] Fix autotools plugin when hardlink already exists --- plugins/autotools/util_rt.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/autotools/util_rt.php b/plugins/autotools/util_rt.php index f16b0ee86..6337a39d5 100644 --- a/plugins/autotools/util_rt.php +++ b/plugins/autotools/util_rt.php @@ -232,8 +232,8 @@ function rtOpFiles( $files, $src, $dst, $op, $dbg = false ) { case "HardLink": { - if( link( $source, $dest ) ) - break; + link( $source, $dest ); + break; } case "Copy": { @@ -355,4 +355,4 @@ function rtExec( $cmds, $hash, $dbg ) return null; } else return $req; -} \ No newline at end of file +}