fenix (0.92a.dfsg1-5) fxi_return_values.patch

Summary

 fxi/src/main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

# Copyright (C) 2007  Miriam Ruiz <little_miry@yahoo.es>
# Licensed under the GPL, see /usr/share/common-licenses/GPL

Index: fenix-0.92a.dfsg1/fxi/src/main.c
===================================================================
--- fenix-0.92a.dfsg1.orig/fxi/src/main.c	2007-08-28 14:40:57.000000000 +0200
+++ fenix-0.92a.dfsg1/fxi/src/main.c	2007-08-28 14:45:34.000000000 +0200
@@ -304,7 +304,7 @@
 				"agreement (GNU GPL version 2 or later).\n"
 				"See COPYING for license details.\n"),
 				argv[0]) ;
-			return 0 ;
+			return -1 ;
 		}
 	}
 
@@ -342,7 +342,7 @@
 				if (!dcb_load(dcbname))
 				{
 					gr_error (_("'%s': file does not exist or it's not a DCB version %d file or compatible"), filename, DCB_VERSION >> 8) ;
-					return -1 ;
+					return -2 ;
 				}
 			}
 		}