Browse Source

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

tags/v1.11.0-rc1
zeripath 4 years ago
parent
commit
95a57394af
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      modules/log/flags.go

+ 3
- 0
modules/log/flags.go View File

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

Loading…
Cancel
Save