aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-11-25 14:40:25 -0600
committerRob Landley <rob@landley.net>2012-11-25 14:40:25 -0600
commitde51192c854d20b19d25daedca9e7ecdc72e13f1 (patch)
tree5f5b8865a2e50866286b51609a20bfa96bae3c8e /lib
parentfe91e68e8d1e6a2974b57a9855032ad94d137e8e (diff)
downloadtoybox-de51192c854d20b19d25daedca9e7ecdc72e13f1.tar.gz
Fix typo.
Diffstat (limited to 'lib')
-rw-r--r--lib/args.c2
1 files changed, 1 insertions, 1 deletions
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;