From de51192c854d20b19d25daedca9e7ecdc72e13f1 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 25 Nov 2012 14:40:25 -0600 Subject: Fix typo. --- lib/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/args.c b/lib/args.c index dec133e2..7033772e 100644 --- a/lib/args.c +++ b/lib/args.c @@ -128,7 +128,7 @@ static int gotflag(struct getoptflagstate *gof, struct opts *opt) gof->excludes |= opt->dex[2]; if (opt->flags&2) gof->stopearly=2; - if (toys.optflags && gof->excludes) { + if (toys.optflags & gof->excludes) { struct opts *bad; unsigned i = 1; -- cgit v1.2.3