aboutsummaryrefslogtreecommitdiff
path: root/rpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpt.c')
-rw-r--r--rpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpt.c b/rpt.c
index d2e4719..298f60e 100644
--- a/rpt.c
+++ b/rpt.c
@@ -53,7 +53,7 @@ exit_on_error(int status)
fprintf(stderr, "Child process exited with status %d, aborting.\n",
status);
- exit(1);
+ exit(status);
}
/* Ignore subprocesses' errors. */