From a0f0df6e66e6613805fa40c95b9758e4702e248a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 11 Sep 2021 00:19:15 +0000 Subject: lei: fix handling of broken lei.saved-search config files lei shouldn't become unusable if a config file is invalid. Instead, show the "git config" stderr and attempt to continue gracefully. Reported-by: Konstantin Ryabitsev Link: https://public-inbox.org/meta/20210910141157.6u5adehpx7wftkor@meerkat.local/ --- script/lei | 2 ++ 1 file changed, 2 insertions(+) (limited to 'script') diff --git a/script/lei b/script/lei index 99d94b4e..2d84487a 100755 --- a/script/lei +++ b/script/lei @@ -127,6 +127,8 @@ while (1) { last; } elsif ($buf =~ /\Achild_error ([0-9]+)\z/) { $x_it_code ||= $1 + 0; + } elsif ($buf eq 'wait') { + $sigchld->(); } else { $sigchld->(); die $buf; -- cgit v1.2.3-24-ge0c7