Convert tincd path args to absolute paths
authorKirill Isakov <bootctl@gmail.com>
Thu, 28 Apr 2022 15:05:36 +0000 (21:05 +0600)
committerKirill Isakov <bootctl@gmail.com>
Thu, 28 Apr 2022 15:05:36 +0000 (21:05 +0600)
Since tincd chdirs to its own configuration directory and only then
resolves relative paths passed as command-line arguments (like --config
and --pidfile), statements like these:

$ tinc -c confdir init foo

$ tincd -c confdir -D

didn't work properly.

Now we resolve paths to absolute right when we receive them, and only
then do chdir.


No differences found