Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dmke committed Aug 20, 2024
1 parent e1981b6 commit 31e4959
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import (
"github.com/spf13/viper"
)

var cfgFile string

// RootCmd represents the base command when called without any subcommands.
var RootCmd = &cobra.Command{
Use: "zfs-snapback",
Expand Down
2 changes: 1 addition & 1 deletion zfs/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (t *Transfer) run() error { //nolint:funlen
}
bar.Finish()
} else {
io.Copy(in, out)
_, _ = io.Copy(in, out)
}
}

Expand Down

0 comments on commit 31e4959

Please sign in to comment.