wkhtmltopdf/wkhtmltopdf — pull request #1705 by theredcat (2014-05-08 15:40:57+00:00)
Title: Use env var SUDO_USER when logname cannot determine username

When compiling from openvz, if you've entered your container by doing a `vzctl enter CTID` there is no logname defined, so `logname` won't work, but $SUDO_USER can be used.

I guess that this should fix compiling from any non-login shell.