From df05a15ce3cb1c730bf87613711c38fa25be349f Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Mon, 9 Feb 2015 15:04:19 -0500 Subject: [PATCH 1/1] bozo: fix -pidfiles default Fix the default value for the -pidfiles argument. The pidfiles should be stored in the local state directory, not the server configuration directory when using modern paths. Fixes commit bdf86d245fd55c5c7ac7ea81e3d6b6bafdbe1783. Change-Id: Ie338b0071c6ea6ee44b376d231d12b85571de6ae Reviewed-on: http://gerrit.openafs.org/11732 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot --- src/bozo/bosserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bozo/bosserver.c b/src/bozo/bosserver.c index e96beee..9f5b74e 100644 --- a/src/bozo/bosserver.c +++ b/src/bozo/bosserver.c @@ -932,7 +932,7 @@ main(int argc, char **argv, char **envp) } else if (strncmp(argv[code], "-pidfiles=", 10) == 0) { DoPidFiles = (argv[code]+10); } else if (strncmp(argv[code], "-pidfiles", 9) == 0) { - DoPidFiles = AFSDIR_BOSCONFIG_DIR; + DoPidFiles = AFSDIR_LOCAL_DIR; } else { -- 1.9.4