Fix multiple -s options.

MFC after:	7 days
This commit is contained in:
Tim Kientzle 2009-02-08 22:04:17 +00:00
parent ec9d8e0b01
commit f64d4bd0f7

View File

@ -202,7 +202,7 @@ apply_substitution(struct bsdtar *bsdtar, const char *name, char **result, int s
if (symlink_only && !rule->symlink)
continue;
if (regexec(&rule->re, name, 10, matches, 0))
break;
continue;
got_match = 1;
print_match |= rule->print;