From a66ac6e56c0f74a84ee132fbf3adaa764c0799f8 Mon Sep 17 00:00:00 2001 From: Ovi <0x0v1@proton.me> Date: Wed, 6 May 2026 15:59:19 +0100 Subject: [PATCH] fix: correct inverted error check --- adb/files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adb/files.go b/adb/files.go index fcd505a..a38dc22 100644 --- a/adb/files.go +++ b/adb/files.go @@ -15,7 +15,7 @@ func (a *ADB) FindFullCommand(path string) ([]FileInfo, error) { var results []FileInfo out, err := a.Shell("find", fmt.Sprintf("'%s'", path), "-type", "f", "-printf", "'%T@ %m %s %u %g %p\n'", "2>", "/dev/null") - if err == nil { + if err != nil { return results, err }