[file-roller/bug-588547] explicitly set the status to 255 when exited abnormally



commit 51dbccd1c58f1dfee80cfbd8efaeb24839e0857d
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Jul 17 09:37:41 2009 +0200

    explicitly set the status to 255 when exited abnormally

 src/fr-process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-process.c b/src/fr-process.c
index add727d..508fcc1 100644
--- a/src/fr-process.c
+++ b/src/fr-process.c
@@ -833,7 +833,7 @@ check_child (gpointer data)
 		}
 		else {
 			process->error.type = FR_PROC_ERROR_EXITED_ABNORMALLY;
-			process->error.status = WEXITSTATUS (status);
+			process->error.status = 255;
 		}
 	}
 



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