mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 06:33:50 +03:00
Log: Ensure FLAGS=none is -1 (#9287)
This commit is contained in:
parent
15254f5762
commit
95a57394af
1 changed files with 3 additions and 0 deletions
|
@ -60,5 +60,8 @@ func FlagsFromString(from string) int {
|
||||||
flags |= f
|
flags |= f
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if flags == 0 {
|
||||||
|
return -1
|
||||||
|
}
|
||||||
return flags
|
return flags
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue