mirror of
https://github.com/restic/restic.git
synced 2026-11-25 22:51:22 +00:00
Remove tempdir for packerManager
This commit is contained in:
1 parent
015cea0c50
commit
cda7616c82
9 files changed
+27
-69
No files matched your search
@@ -26,10 +26,7 @@ func (cmd CmdInit) Execute(args []string) error {
|
||||
"enter password again: ")
|
||||
}
|
||||
|
||||
s, err := repository.New(be)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
s := repository.New(be)
|
||||
|
||||
err = s.Init(cmd.global.password)
|
||||
if err != nil {
|
||||
|
||||
@@ -208,10 +208,7 @@ func (o GlobalOptions) OpenRepository() (*repository.Repository, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
s, err := repository.New(be)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
s := repository.New(be)
|
||||
|
||||
if o.password == "" {
|
||||
o.password = o.ReadPassword("enter password for repository: ")
|
||||
|
||||
Reference in new issue
Block a user