summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-10 00:03:51 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-10 00:03:51 +0000
commit0009d030c3c71f907a253d8935c22e2e18de7fa6 (patch)
tree9b13892a05032f6d4345b2b37a38a23abe504131 /pkgtools
parentdcad3941ffd17caaf3da16602a0051a92d514a91 (diff)
downloadpkgsrc-0009d030c3c71f907a253d8935c22e2e18de7fa6.tar.gz
Actually assign variable that tells the caller that we got a match.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/files/admin/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/admin/main.c b/pkgtools/pkg_install/files/admin/main.c
index f39f222650b..79b5b10e125 100644
--- a/pkgtools/pkg_install/files/admin/main.c
+++ b/pkgtools/pkg_install/files/admin/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.23 2007/08/09 23:54:17 joerg Exp $ */
+/* $NetBSD: main.c,v 1.24 2007/08/10 00:03:51 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -8,7 +8,7 @@
#include <sys/cdefs.h>
#endif
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.23 2007/08/09 23:54:17 joerg Exp $");
+__RCSID("$NetBSD: main.c,v 1.24 2007/08/10 00:03:51 joerg Exp $");
#endif
/*
@@ -768,6 +768,7 @@ set_installed_info_var(const char *name, void *cookie)
retval = var_set(filename, arg->variable, arg->value);
free(filename);
+ arg->got_match = 1;
return retval;
}