mirror of
https://github.com/restic/restic.git
synced 2025-12-10 07:21:55 +00:00
more cleanup
This commit is contained in:
@@ -252,10 +252,7 @@ func (cmd CmdBackup) Execute(args []string) error {
|
||||
// return true
|
||||
// }
|
||||
|
||||
arch, err := restic.NewArchiver(s)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "err: %v\n", err)
|
||||
}
|
||||
arch := restic.NewArchiver(s)
|
||||
|
||||
arch.Error = func(dir string, fi os.FileInfo, err error) error {
|
||||
// TODO: make ignoring errors configurable
|
||||
|
||||
Reference in New Issue
Block a user