diff options
author | Matthieu Boutier <boutier@pps.jussieu.fr> | 2012-01-08 17:07:10 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-03-25 17:06:52 +0100 |
commit | 528eab1fd04434e0befe9a98191b11602e3cb2ff (patch) | |
tree | 2d7db816953bda15297d9d500c3c878185f22ca3 /babeld | |
parent | c7c53fa88ccdbc2d48cf7327c9e4f33cdc517a8a (diff) |
babeld: fix bug concerning pidfile.
Diffstat (limited to 'babeld')
-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); |