3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02:00

ProcessManager: remove unnecessary die

This commit is contained in:
Pragmatic Software 2020-09-27 14:02:47 -07:00
parent a0f3d28b80
commit 88d2c283a9

View File

@ -195,7 +195,6 @@ sub execute_process {
local $SIG{ALRM} = sub { die "Process `$context->{commands}->[0]` timed-out" };
alarm $timeout;
$subref->($context);
die if $@;
};
alarm 0;