failing to list or extract a single mpq archive does not fail the entire
operation
This commit is contained in:
parent
5c89a5fa92
commit
9e931a409a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user