about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-01-23 10:27:47 +0000
committerEric Wong <e@80x24.org>2021-01-23 23:45:25 +0000
commita4fa97d8ecd32927f0f3d6580c474059b59dabd2 (patch)
tree8149edd611e36e47b1387beed5ab8863ec165f63 /script
parentd44073df16b9ae461ec445bea45a3c48451ae1e4 (diff)
downloadpublic-inbox-a4fa97d8ecd32927f0f3d6580c474059b59dabd2.tar.gz
Via curl(1), since that lets us easily use tor on a
per-connection basis via LD_PRELOAD (torsocks) or proxy.
We'll eventually support more curl options which can allow
users to get past firewalls and deal with other odd network
configurations.
Diffstat (limited to 'script')
-rwxr-xr-xscript/lei2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/lei b/script/lei
index 8dcea562..8c40bf12 100755
--- a/script/lei
+++ b/script/lei
@@ -93,6 +93,8 @@ Falling back to (slow) one-shot mode
                 if ($buf =~ /\Ax_it ([0-9]+)\z/) {
                         $x_it_code = $1 + 0;
                         last;
+                } elsif ($buf =~ /\Achild_error ([0-9]+)\z/) {
+                        $x_it_code = $1 + 0;
                 } elsif ($buf =~ /\Aexec (.+)\z/) {
                         exec_cmd(\@fds, split(/\0/, $1));
                 } else {