about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-22 02:24:31 +0000
committerEric Wong <e@80x24.org>2021-09-22 05:21:20 +0000
commit6598465d6135f5c697aee075c1c95cdbcd16f255 (patch)
treeda29a988d2669663a460514d796d2ac39a7ee8f3 /script
parent28d5a8d647e3ab56cc5570af0d6f3ccf75dc91f2 (diff)
downloadpublic-inbox-6598465d6135f5c697aee075c1c95cdbcd16f255.tar.gz
It looks dumb, but I'm not about to take a runtime penalty to
use signalfd|EVFILT_SIGNAL, here, either.
Diffstat (limited to 'script')
-rwxr-xr-xscript/lei2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/lei b/script/lei
index 399296ba..bc437798 100755
--- a/script/lei
+++ b/script/lei
@@ -137,6 +137,6 @@ while (1) {
 $sigchld->();
 if (my $sig = ($x_it_code & 127)) {
         kill $sig, $$;
-        sleep(1) while 1;
+        sleep(1) while 1; # no self-pipe/signalfd, here, so we loop
 }
 exit($x_it_code >> 8);