Browse Source

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

tags/v1.11.0-rc1
zeripath 5 years ago committed by techknowlogick
parent
commit
95a57394af
  1. 3
      modules/log/flags.go

3
modules/log/flags.go

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

Loading…
Cancel
Save