main: pkg-config only allows printing variables from the first package, so exit once we've done that

pull/15/head
William Pitcock 2012-05-05 22:09:33 +00:00
parent a9a2ba3da4
commit 18e051e760
1 changed files with 2 additions and 0 deletions

2
main.c
View File

@ -175,6 +175,8 @@ print_variable(pkg_t *pkg, void *unused)
printf("%s", var);
free(var);
exit(EXIT_SUCCESS);
}
}