[tests] force Fcntl::F_SETFD() autovivification (#3110)

x-ref:
  "RPM build fails at Lighttest.pm"
  https://redmine.lighttpd.net/issues/3110
master
Glenn Strauss 2 years ago
parent 1c41faaebc
commit a2bfccd1be

@ -213,7 +213,7 @@ sub start_proc {
}
else {
require Fcntl;
fcntl($SOCK, Fcntl::F_SETFD, 0); # clr FD_CLOEXEC
fcntl($SOCK, Fcntl::F_SETFD(), 0); # clr FD_CLOEXEC
}
exec @cmdline or die($?);
}

Loading…
Cancel
Save