forked from TrueCloudLab/restic
Start error message with a lower case character
This commit is contained in:
parent
d0de1ed2e4
commit
22f3e21266
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ func readBackupFromStdin(opts BackupOptions, gopts GlobalOptions, args []string)
|
||||||
}
|
}
|
||||||
|
|
||||||
if gopts.password == "" && gopts.PasswordFile == "" {
|
if gopts.password == "" && gopts.PasswordFile == "" {
|
||||||
return errors.Fatal("Unable to read password from stdin when data is to be read from stdin, use --password-file or $RESTIC_PASSWORD")
|
return errors.Fatal("unable to read password from stdin when data is to be read from stdin, use --password-file or $RESTIC_PASSWORD")
|
||||||
}
|
}
|
||||||
|
|
||||||
repo, err := OpenRepository(gopts)
|
repo, err := OpenRepository(gopts)
|
||||||
|
|
Loading…
Reference in a new issue