Oops, fix test. Pointed out by Matt Fleming, thanks!

This commit is contained in:
elad 2006-09-19 20:37:08 +00:00
parent 4b7ccf17f9
commit d2a7cc99dc
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: veriexecgen.c,v 1.4 2006/09/18 20:53:48 elad Exp $ */
/* $NetBSD: veriexecgen.c,v 1.5 2006/09/19 20:37:08 elad Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@ -171,7 +171,7 @@ add_new_entry(FTSENT *file, struct hash *hash)
} else
sb = *file->fts_statp;
if (!aflag && !Dflag && IS_EXEC(sb.st_mode))
if (!aflag && !Dflag && !IS_EXEC(sb.st_mode))
return;
e = ecalloc(1UL, sizeof(*e));