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

x-ref:
  "RPM build fails at Lighttest.pm"
  https://redmine.lighttpd.net/issues/3110
This commit is contained in:
Glenn Strauss 2021-10-10 18:28:01 -04:00
parent 1c41faaebc
commit a2bfccd1be
1 changed files with 1 additions and 1 deletions

View File

@ -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($?);
}