[vala/0.10] 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/0.10] gen-introspect: Fix exit code for missing header files
- Date: Thu, 23 Dec 2010 14:52:46 +0000 (UTC)
commit 6fa44edfe65b251f4c712b6e3fd7bf5f7b893b73
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]