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

tokarchuk/v1.17
zeripath 5 years ago committed by techknowlogick
parent 15254f5762
commit 95a57394af
  1. 3
      modules/log/flags.go

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

Loading…
Cancel
Save