Fix starting tinc as a service on Windows.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 23 Apr 2016 19:32:42 +0000 (21:32 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 23 Apr 2016 19:32:42 +0000 (21:32 +0200)
commit83fa44ce42c67837dad30ba1538bf1fa8c49a47d
treedec7a2659b608e2db7d65a08ae5469247bc30ac5
parent9a66d7499ae2c838c25f9c6bfcc277c3fa231dea
Fix starting tinc as a service on Windows.

Don't assume tincd.exe is in the working directory, especially now that
chdir() is called very early. We use GetModuleFileName() instead.
src/process.c