From 1885a77c0e67a3e5eaf52f7c266d102d52a94225 Mon Sep 17 00:00:00 2001 From: kientzle Date: Sun, 8 Feb 2009 22:04:17 +0000 Subject: Fix multiple -s options. MFC after: 7 days --- usr.bin/tar/subst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/tar') diff --git a/usr.bin/tar/subst.c b/usr.bin/tar/subst.c index b6571df..13464cd 100644 --- a/usr.bin/tar/subst.c +++ b/usr.bin/tar/subst.c @@ -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; -- cgit v1.1