We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfc9bc1 commit 6f124f0Copy full SHA for 6f124f0
1 file changed
t/157-socket-keepalive-hup.t
@@ -27,7 +27,8 @@ __DATA__
27
=== TEST 1: exiting
28
--- stream_server_config
29
content_by_lua_block {
30
- local f, err = io.open("t/servroot/logs/nginx.pid", "r")
+ local pidfile = ngx.config.prefix() .. "/logs/nginx.pid"
31
+ local f, err = io.open(pidfile, "r")
32
if not f then
33
ngx.say("failed to open nginx.pid: ", err)
34
return
0 commit comments