summaryrefslogtreecommitdiff
path: root/gobject-introspection
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-12-22 09:33:15 +0100
committerJürg Billeter <j@bitron.ch>2010-12-22 09:33:15 +0100
commit0c607cd70fd5e3066cc65a3e472adcf6d8fb0698 (patch)
treedb6156c4ddf4a984802889ec1e28f2d021525737 /gobject-introspection
parent99ce3d3831c0898368126f75570bb5feb1539929 (diff)
downloadvala-0c607cd70fd5e3066cc65a3e472adcf6d8fb0698.tar.gz
gen-introspect: Fix exit code for missing header files
Fixes bug 633596.
Diffstat (limited to 'gobject-introspection')
-rw-r--r--gobject-introspection/scanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject-introspection/scanner.c b/gobject-introspection/scanner.c
index d98af491f..dcaa01c1b 100644
--- a/gobject-introspection/scanner.c
+++ b/gobject-introspection/scanner.c
@@ -1753,7 +1753,7 @@ main (int argc, char **argv)
{
g_printerr ("ERROR: Need at least one header file.\n");
g_igenerator_free (igenerator);
- return 0;
+ return 1;
}
igenerator->filenames = filenames;
cpp_options = g_list_reverse (cpp_options);