summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-10 21:43:58 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-10 21:43:58 +0000
commitded9371ddcf0af980310448abc4e55293c9ea86e (patch)
treed469a81110cf558762b56d11c0d79e014abf2a9c /pkgtools
parentf0e25cb10087e583a373d8b49c36a4b76aacdc04 (diff)
downloadpkgsrc-ded9371ddcf0af980310448abc4e55293c9ea86e.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.c8
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