mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
rclone.mount: ignore _netdev mount argument - FIxes #5808
Do not trigger an error upon parsing argument starting with underscores. _netdev was already ignored after parsing.
This commit is contained in:
@@ -208,7 +208,7 @@ func parseHelperOptionString(optString string) (opts []string, err error) {
|
||||
if len(param) == 0 {
|
||||
return nil, errHelperEmptyOption
|
||||
}
|
||||
if param[0] == '-' || param[0] == '_' {
|
||||
if param[0] == '-' {
|
||||
return nil, errHelperOptionName
|
||||
}
|
||||
prev = i + 1
|
||||
|
||||
Reference in New Issue
Block a user