aboutsummaryrefslogtreecommitdiff
path: root/bb.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-11-09 15:45:07 +0100
committerBruce Hill <bruce@bruce-hill.com>2019-11-09 15:45:07 +0100
commit1bebad5edf1007b46a8769bdea68cac2c2a9a3e5 (patch)
tree793e5edd05db9fa2a9ffc57b051b9c52662ebbde /bb.c
parent76647e596e6607d4cc7e0e9d681045e57c1bf397 (diff)
Removed the "or pause" behavior for failed scripts.
Diffstat (limited to 'bb.c')
-rw-r--r--bb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bb.c b/bb.c
index 6672fd6..271bf7d 100644
--- a/bb.c
+++ b/bb.c
@@ -1006,8 +1006,6 @@ int run_script(bb_t *bb, const char *cmd)
LL_PREPEND(running_procs, proc, running);
int status = wait_for_process(&proc);
- if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
- run_script(bb, "trap true INT; pause; true");
dirty = 1;
return status;
}