mirror of
https://github.com/restic/restic.git
synced 2025-10-25 22:58:49 +00:00
Remove extra brackets.
This commit is contained in:
@@ -302,7 +302,7 @@ func resolvePassword(opts *GlobalOptions, envStr string) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
return (strings.TrimSpace(string(output))), nil
|
||||
return strings.TrimSpace(string(output)), nil
|
||||
}
|
||||
if opts.PasswordFile != "" {
|
||||
return loadPasswordFromFile(opts.PasswordFile)
|
||||
|
||||
Reference in New Issue
Block a user