changeset 3029 | 0c7beabfed5b |
parent 3022 | 948d511f479c |
parent 3028 | e095d2a98936 |
child 3340 | 0769cc5f34b6 |
--- a/plugins/mod_posix.lua Fri May 07 07:18:09 2010 +0500 +++ b/plugins/mod_posix.lua Fri May 07 16:21:04 2010 +0500 @@ -82,6 +82,7 @@ end pidfile = module:get_option("pidfile"); if pidfile then + local err; local mode = stat(pidfile) and "r+" or "w+"; pidfile_handle, err = io.open(pidfile, mode); if not pidfile_handle then