main: don't just exit on --variable

feature/tap-sh
William Pitcock 2012-05-06 21:15:30 -05:00
parent c69d6c62eb
commit 36269f760b
1 changed files with 0 additions and 3 deletions

3
main.c
View File

@ -171,10 +171,7 @@ print_variable(pkg_t *pkg, void *unused)
var = pkg_tuple_find(pkg->vars, want_variable); var = pkg_tuple_find(pkg->vars, want_variable);
if (var != NULL) if (var != NULL)
{
printf("%s", var); printf("%s", var);
exit(EXIT_SUCCESS);
}
} }
static void static void