Log: Ensure FLAGS=none is -1 (#9287)
parent
15254f5762
commit
95a57394af
|
@ -60,5 +60,8 @@ func FlagsFromString(from string) int {
|
|||
flags |= f
|
||||
}
|
||||
}
|
||||
if flags == 0 {
|
||||
return -1
|
||||
}
|
||||
return flags
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue