mirror of
https://github.com/rclone/rclone.git
synced 2025-12-16 00:04:40 +00:00
all: Apply codeql fixes
This commit is contained in:
committed by
Nick Craig-Wood
parent
2dabbe83ac
commit
745c0af571
@@ -18,7 +18,7 @@ func (x *FileMode) String() string {
|
||||
|
||||
// Set a FileMode
|
||||
func (x *FileMode) Set(s string) error {
|
||||
i, err := strconv.ParseInt(s, 8, 64)
|
||||
i, err := strconv.ParseInt(s, 8, 32)
|
||||
if err != nil {
|
||||
return fmt.Errorf("bad FileMode - must be octal digits: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user