[file-roller] process: print "ignore error" when the ignore_error flag is active
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] process: print "ignore error" when the ignore_error flag is active
- Date: Sun, 25 Nov 2012 14:39:22 +0000 (UTC)
commit 963ca0e4e397196ff13076f368ec590fc8036902
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Nov 25 15:32:52 2012 +0100
process: print "ignore error" when the ignore_error flag is active
src/fr-process.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/fr-process.c b/src/fr-process.c
index f66e533..3ecfb37 100644
--- a/src/fr-process.c
+++ b/src/fr-process.c
@@ -814,7 +814,7 @@ check_child (gpointer data)
if (info->ignore_error) {
fr_clear_error (&exec_data->error);
- debug (DEBUG_INFO, "[ignore error]\n");
+ debug (DEBUG_INFO, "[error ignored]\n");
}
else if (exec_data->error == NULL) {
if (WIFEXITED (status)) {
@@ -961,6 +961,9 @@ execute_current_command (ExecuteData *exec_data)
if (info->dir != NULL)
g_print ("\tcd %s\n", info->dir);
+ if (info->ignore_error)
+ g_print ("\t[ignore error]\n");
+
g_print ("\t");
for (j = 0; j < i; j++)
g_print ("%s ", argv[j]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]