From 0dd8a0fe01fe4b0900e75c780eacc361ca235aba Mon Sep 17 00:00:00 2001 From: jgfrm Date: Mon, 6 Feb 2017 17:19:58 +0100 Subject: [PATCH] fixed integration_helper --- src/cmds/restic/integration_helpers_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmds/restic/integration_helpers_test.go b/src/cmds/restic/integration_helpers_test.go index ed9e4022f..d439d5542 100644 --- a/src/cmds/restic/integration_helpers_test.go +++ b/src/cmds/restic/integration_helpers_test.go @@ -35,9 +35,9 @@ func walkDir(dir string) <-chan *dirEntry { return nil } - stat, err := restic.ToStatT(info.Sys()) + stat, ok := restic.ToStatT(info.Sys()) - if !err { + if !ok { return nil }