mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 11:28:54 +00:00
forget: Remove unneeded index loading
This commit is contained in:
parent
fe1013e779
commit
1dd72693f9
@ -112,11 +112,6 @@ func runForget(opts ForgetOptions, gopts GlobalOptions, args []string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
err = repo.LoadIndex()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// parse arguments as hex strings
|
||||
var ids []string
|
||||
for _, s := range args {
|
||||
|
Loading…
Reference in New Issue
Block a user