diff options
| author | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2023-11-11 19:58:34 +0100 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2023-11-11 19:58:34 +0100 |
| commit | d003f738d9c583afa976efc252740c68a37479bb (patch) | |
| tree | 68d8664e24b7de4317009221a6305ff018e10df1 | |
| parent | cbce98cc38b6e22e60d5664ccc4905e47eb68719 (diff) | |
exit with subprocess' exit code when failure
| -rw-r--r-- | rpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |
