mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-04 22:37:55 +00:00
Remove confusing message about symlinks (#381)
This commit is contained in:
1 parent
729adec5e5
commit
3d9b82515c
1 file changed
+1
-1
@@ -418,7 +418,7 @@ func (cr *containerReference) copyDir(dstPath string, srcPath string) common.Exe
|
||||
// copy file data into tar writer
|
||||
if _, err := io.Copy(tw, f); err != nil {
|
||||
if fi.Mode()&os.ModeSymlink == os.ModeSymlink {
|
||||
logger.Warnf("Unable to copy link %s --> %s", fi.Name(), linkName)
|
||||
// symlinks don't need to be copied, ignore this error
|
||||
err = nil
|
||||
}
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user