forked from rosa/hakurei
+1
-1
@@ -103,7 +103,7 @@ type (
|
||||
|
||||
// Flags interprets VfsOptstr and returns the resulting flags and unmatched options.
|
||||
func (e *MountInfoEntry) Flags() (flags uintptr, unmatched []string) {
|
||||
for _, s := range strings.Split(e.VfsOptstr, ",") {
|
||||
for s := range strings.SplitSeq(e.VfsOptstr, ",") {
|
||||
switch s {
|
||||
case "rw":
|
||||
case "ro":
|
||||
|
||||
Reference in New Issue
Block a user