1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-04 17:35:21 +02:00

Log: Ensure FLAGS=none is -1 (#9287)

This commit is contained in:
zeripath 2019-12-08 04:36:47 +00:00 committed by techknowlogick
parent 15254f5762
commit 95a57394af

View file

@ -60,5 +60,8 @@ func FlagsFromString(from string) int {
flags |= f flags |= f
} }
} }
if flags == 0 {
return -1
}
return flags return flags
} }