mirror of
https://github.com/restic/restic.git
synced 2026-10-18 07:28:12 +00:00
Remove extra brackets.
This commit is contained in:
1 parent
4420fde378
commit
6caad10840
2 files changed
+2
-2
No files matched your search
@@ -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