mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 17:20:53 +02:00
Log: Ensure FLAGS=none is -1 (#9287)
This commit is contained in:
1 parent
15254f5762
commit
95a57394af
1 file changed
+3
@@ -60,5 +60,8 @@ func FlagsFromString(from string) int {
|
||||
flags |= f
|
||||
}
|
||||
}
|
||||
if flags == 0 {
|
||||
return -1
|
||||
}
|
||||
return flags
|
||||
}
|
||||
Reference in new issue
Block a user