forked from TrueCloudLab/restic
Allow using --repository-file in init
This commit is contained in:
parent
342520b648
commit
d857fb6e59
1 changed files with 0 additions and 4 deletions
|
@ -43,10 +43,6 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func runInit(opts InitOptions, gopts GlobalOptions, args []string) error {
|
func runInit(opts InitOptions, gopts GlobalOptions, args []string) error {
|
||||||
if gopts.Repo == "" {
|
|
||||||
return errors.Fatal("Please specify repository location (-r)")
|
|
||||||
}
|
|
||||||
|
|
||||||
chunkerPolynomial, err := maybeReadChunkerPolynomial(opts, gopts)
|
chunkerPolynomial, err := maybeReadChunkerPolynomial(opts, gopts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue