Browse Source

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

for-closed-social
zeripath 5 years ago
committed by techknowlogick
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