mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Simplify parsing of mount options by passing
"rw" option down to kernel, since vfs_donmount() can now parse it.
This commit is contained in:
parent
0e263b06af
commit
748e259bc4
1 changed files with 1 additions and 1 deletions
|
|
@ -644,7 +644,7 @@ mangle(options, argcp, argv)
|
|||
*p = '\0';
|
||||
argv[argc++] = p+1;
|
||||
}
|
||||
} else if (strcmp(p, "rw") != 0) {
|
||||
} else {
|
||||
argv[argc++] = strdup("-o");
|
||||
argv[argc++] = p;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue