diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/options.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index 84227ae..f18c43e 100644 --- a/src/options.c +++ b/src/options.c @@ -157,7 +157,11 @@ static const struct option_usage usage[] = { #endif }, /** --daemon */ +#ifdef __FreeBSD__ + {"pidfile", 0, OPT_STR, {.str = "/var/run/ptunnel.pid"}, +#else {"pidfile", 0, OPT_STR, {.str = "/run/ptunnel.pid"}, +#endif #ifdef WIN32 "(Not available on this platform.)\n" #endif |