mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +01:00
Make compatible with go 1.1 - fixes #1
This commit is contained in:
parent
4bfca75012
commit
1d67b014cb
@ -147,7 +147,7 @@ func Command(commands []string) byte {
|
||||
if len(result) != 1 {
|
||||
continue
|
||||
}
|
||||
i := strings.IndexByte(optString, result[0])
|
||||
i := strings.Index(optString, string(result[0]))
|
||||
if i >= 0 {
|
||||
return result[0]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user