Unset the DISPLAY and TERM environment variables just before forking. A
commitc893980df27ec96bd1a1e6479d89d19a3d4a3261
authorBen Kibbey <bjk@luxsci.net>
Fri, 27 Nov 2009 13:57:51 +0000 (27 08:57 -0500)
committerBen Kibbey <bjk@luxsci.net>
Fri, 27 Nov 2009 13:57:51 +0000 (27 08:57 -0500)
treefa0677437643ef440fdab032471ce5354150ba2c
parentce4ac04e30eea2f817729627120791ebb12e69ed
Unset the DISPLAY and TERM environment variables just before forking.  A
client should set these manually or configure ~/.pwmd/pinentry.conf. This
fixes trying to use a pinentry which previously had a DISPLAY available
in the environment which no longer exists.
src/pwmd.c