about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/lei2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/lei b/script/lei
index bc437798..8f6e8aac 100755
--- a/script/lei
+++ b/script/lei
@@ -122,6 +122,8 @@ while (1) {
                 $exec_cmd->(\@fds, split(/\0/, $1));
         } elsif ($buf eq '-WINCH') {
                 kill($buf, @parent); # for MUA
+        } elsif ($buf eq 'umask') {
+                send($sock, 'u'.pack('V', umask), MSG_EOR) or die "send: $!"
         } elsif ($buf =~ /\Ax_it ([0-9]+)\z/) {
                 $x_it_code ||= $1 + 0;
                 last;