charon-svc: When running as service, change working directory to executable
authorMartin Willi <martin@revosec.ch>
Wed, 5 Mar 2014 14:45:42 +0000 (15:45 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 4 Jun 2014 13:53:09 +0000 (15:53 +0200)
commitfc987bea52a4f7394edc24828b9237f72cb98114
tree3e5c8bfd75349292cf4e1e35a98a370efa49afb9
parent93168c5f1df52ad52ba28bfe4fb17c0931ed1a85
charon-svc: When running as service, change working directory to executable

Services get executed with system32 as current working directory. This does
not work for us, as we expect paths to be relative to the executable.
src/charon-svc/charon-svc.c