[file-roller/bug-588547] update the status even when exited abnormally



commit da7b5e5f147be107dd26012351e54a4c01ba9a41
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Jul 16 18:33:18 2009 +0200

    update the status even when exited abnormally

 src/fr-process.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-process.c b/src/fr-process.c
index bae8d1c..add727d 100644
--- a/src/fr-process.c
+++ b/src/fr-process.c
@@ -831,8 +831,10 @@ check_child (gpointer data)
 				process->error.status = WEXITSTATUS (status);
 			}
 		}
-		else
+		else {
 			process->error.type = FR_PROC_ERROR_EXITED_ABNORMALLY;
+			process->error.status = WEXITSTATUS (status);
+		}
 	}
 
 	process->priv->command_pid = 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]