[vala] gen-introspect: Fix exit code for missing header files
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gen-introspect: Fix exit code for missing header files
- Date: Wed, 22 Dec 2010 08:34:13 +0000 (UTC)
commit 0c607cd70fd5e3066cc65a3e472adcf6d8fb0698
Author: Jürg Billeter <j bitron ch>
Date: Wed Dec 22 09:33:15 2010 +0100
gen-introspect: Fix exit code for missing header files
Fixes bug 633596.
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 d98af49..dcaa01c 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]