FIXED:
* Small comparison issue in a couple libs based on recent discovery in
  r00t2.io/goutils/bitmask
This commit is contained in:
brent saner
2025-08-27 19:20:44 -04:00
parent 5a62622892
commit d7db23d58c
4 changed files with 9 additions and 3 deletions

View File

@@ -118,6 +118,7 @@ func unsetAttrs(f *os.File, attrs fsAttr) (err error) {
}
ab = bitmask.MaskBit(curAttrs)
// TODO: Should this be IsOneOf instad of HasFlag?
if !ab.HasFlag(bitmask.MaskBit(attrs)) {
return
}