diff options
Diffstat (limited to 'babeld/babel_main.c')
-rw-r--r-- | babeld/babel_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c index 6065b7bc..b4d60886 100644 --- a/babeld/babel_main.c +++ b/babeld/babel_main.c @@ -87,7 +87,7 @@ int link_detect = 0; int wireless_hello_interval = -1; int wired_hello_interval = -1; int idle_hello_interval = -1; -char *pidfile = "/var/run/babeld.pid"; +static char *pidfile = PATH_BABELD_PID; const unsigned char zeroes[16] = {0}; const unsigned char ones[16] = @@ -162,7 +162,6 @@ babel_init(int argc, char **argv) int rc, opt; int do_daemonise = 0; char *progname = NULL; - char *pidfile = PATH_BABELD_PID; /* Set umask before anything for security */ umask (0027); |