diff options
author | joerg <joerg> | 2007-08-10 21:43:58 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-10 21:43:58 +0000 |
commit | 59e096c6ec32717d11e0433bbb3a94607813dc34 (patch) | |
tree | d469a81110cf558762b56d11c0d79e014abf2a9c /pkgtools | |
parent | 47ff3b4835ea3499ec1a01b809e7d9a5e90cf02d (diff) | |
download | pkgsrc-59e096c6ec32717d11e0433bbb3a94607813dc34.tar.gz |
Not my day. If I write "return 0 when at least one match was found",
actually return 0...
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/info/perform.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkg_install/files/info/perform.c b/pkgtools/pkg_install/files/info/perform.c index 331585fe484..ddedd47797c 100644 --- a/pkgtools/pkg_install/files/info/perform.c +++ b/pkgtools/pkg_install/files/info/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.38 2007/08/10 15:37:51 joerg Exp $ */ +/* $NetBSD: perform.c,v 1.39 2007/08/10 21:43:58 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -14,7 +14,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.23 1997/10/13 15:03:53 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.38 2007/08/10 15:37:51 joerg Exp $"); +__RCSID("$NetBSD: perform.c,v 1.39 2007/08/10 21:43:58 joerg Exp $"); #endif #endif @@ -372,9 +372,9 @@ CheckForPkg(const char *pkgname) } if (arg.got_match) + return 0; + else return 1; - - return 0; } void |