[Xfce4-commits] r22630 - xarchiver/trunk/src

Giuseppe Torelli colossus at xfce.org
Thu Aug 3 07:28:41 UTC 2006


Author: colossus
Date: 2006-08-03 07:28:39 +0000 (Thu, 03 Aug 2006)
New Revision: 22630

Modified:
   xarchiver/trunk/src/main.c
Log:
Fixed bug #2110. Thanks to Etienne Zannelli for reporting this.


Modified: xarchiver/trunk/src/main.c
===================================================================
--- xarchiver/trunk/src/main.c	2006-08-02 18:46:34 UTC (rev 22629)
+++ xarchiver/trunk/src/main.c	2006-08-03 07:28:39 UTC (rev 22630)
@@ -20,7 +20,7 @@
 #include "main.h"
 
 extern gchar *extract_path;
-
+gint exit_status;
 gchar *cli_command = NULL;
 gchar *archive_name;
 gchar *absolute_path = NULL;
@@ -214,7 +214,7 @@
 		g_list_free ( ArchiveType);
 		if (archive != NULL)
 			xa_clean_archive_structure ( archive );
-		return 0;
+		return exit_status;
 	}
 	else
 	{
@@ -349,7 +349,6 @@
     GError *error = NULL;
     gchar *std_out;
     gchar *std_err;
-    gint exit_status;
 	gchar **argv;
 	int argcp;
     



More information about the Xfce4-commits mailing list