diff --git a/tools/pak/pak.c b/tools/pak/pak.c index c3b2306a7..3ed57fe3f 100644 --- a/tools/pak/pak.c +++ b/tools/pak/pak.c @@ -195,6 +195,7 @@ main (int argc, char **argv) pf = pack_find_file (pack, argv[optind]); if (!pf) { fprintf (stderr, "could not find %s\n", argv[optind]); + optind++; continue; } if (options.verbosity > 0)