From 4337b460928839582530484b90a31a3cae574e86 Mon Sep 17 00:00:00 2001 From: qydysky Date: Mon, 7 Sep 2020 07:08:11 +0800 Subject: [PATCH] 56 --- CheckFile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CheckFile.go b/CheckFile.go index 121856c..01fc0a3 100644 --- a/CheckFile.go +++ b/CheckFile.go @@ -58,7 +58,7 @@ func (t *checkfile) IsExist(f string) bool { t.RV = append(t.RV,false,nil) return false }else{ - if err != syscall.ENAMETOOLONG { + if err.Error() != "file name too long" { Logf().E(err) } t.RV = append(t.RV,false,err) -- 2.39.2