Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
cmd/ls: Fix zip file listing
Browse files Browse the repository at this point in the history
  • Loading branch information
mholt committed Nov 8, 2018
1 parent e145e1a commit a44cde1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/arc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func main() {
err = w.Walk(flag.Arg(1), func(f archiver.File) error {
count++
switch h := f.Header.(type) {
case *zip.FileHeader:
case zip.FileHeader:
fmt.Printf("%s\t%d\t%d\t%s\t%s\n",
f.Mode(),
h.Method,
Expand Down

0 comments on commit a44cde1

Please sign in to comment.