Archived
Work around broken Lstat on Android
This commit is contained in:
1 parent
ba4a6fc0c5
commit
102a2db1f3
10 files changed
+59
-12
No files matched your search
@@ -60,7 +60,7 @@ func init() {
|
||||
return
|
||||
}
|
||||
|
||||
stat, err := os.Lstat(path)
|
||||
stat, err := osutil.Lstat(path)
|
||||
if err != nil || stat.Mode()&os.ModeSymlink == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user