ironsmile / nedomi

Highly performant HTTP reverse proxy with efficient caching of big files
GNU General Public License v3.0
81 stars 9 forks source link

Remove whitespaces while reading PID file contents #210

Closed ironsmile closed 8 years ago

ironsmile commented 8 years ago

An unexpected white space in the PID file was causing an error message on shutdown. Such an whitespace is easy to slip into the file. For example echo 123 > nedomi.pid will add a new line. Situations like this shouldn't be a cause for alarm.

mstoykov commented 8 years ago

:+1: