summaryrefslogtreecommitdiff
path: root/src/fr-process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-process.c')
-rw-r--r--src/fr-process.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fr-process.c b/src/fr-process.c
index 56a1ddb..7876190 100644
--- a/src/fr-process.c
+++ b/src/fr-process.c
@@ -842,10 +842,9 @@ check_child (gpointer data)
process->error.type = FR_PROC_ERROR_NONE;
else if (WEXITSTATUS (status) == 255)
process->error.type = FR_PROC_ERROR_COMMAND_NOT_FOUND;
- else {
+ else
process->error.type = FR_PROC_ERROR_COMMAND_ERROR;
- process->error.status = WEXITSTATUS (status);
- }
+ process->error.status = WEXITSTATUS (status);
}
else {
process->error.type = FR_PROC_ERROR_EXITED_ABNORMALLY;