From 2993540479cd7197bd6758e8273061c19f1b167c Mon Sep 17 00:00:00 2001 From: janisz Date: Sat, 5 Sep 2020 16:57:45 +0200 Subject: [PATCH] containsWildcards always returns false --- tailer/glob/glob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailer/glob/glob.go b/tailer/glob/glob.go index ac8b7daf..871a192d 100644 --- a/tailer/glob/glob.go +++ b/tailer/glob/glob.go @@ -60,7 +60,7 @@ func containsWildcards(pattern string) bool { continue } if !escaped && (p[i] == '[' || p[i] == '*' || p[i] == '?') { - return false + return true } escaped = false }