diff options
author | Jürg Billeter <j@bitron.ch> | 2010-12-22 09:33:15 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2010-12-22 09:33:15 +0100 |
commit | 0c607cd70fd5e3066cc65a3e472adcf6d8fb0698 (patch) | |
tree | db6156c4ddf4a984802889ec1e28f2d021525737 /gobject-introspection | |
parent | 99ce3d3831c0898368126f75570bb5feb1539929 (diff) | |
download | vala-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.c | 2 |
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); |