From 9e931a409a67530825611ccafa4dd4c8e4922c2e Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 15 Dec 2018 18:18:42 -0800 Subject: [PATCH] failing to list or extract a single mpq archive does not fail the entire operation --- tools/mpq/mpq.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/mpq/mpq.go b/tools/mpq/mpq.go index 4e1dc1e..d5590b8 100644 --- a/tools/mpq/mpq.go +++ b/tools/mpq/mpq.go @@ -112,14 +112,12 @@ func main() { for i := 1; i < flag.NArg(); i++ { if err := list(flag.Arg(i), *filter); err != nil { fmt.Fprintln(os.Stderr, err) - os.Exit(1) } } case "extract": for i := 1; i < flag.NArg(); i++ { if err := extract(flag.Arg(i), *filter, *targetDir); err != nil { fmt.Fprintln(os.Stderr, err) - os.Exit(1) } } default: