From: Michael Meffie Date: Mon, 9 Feb 2015 20:04:19 +0000 (-0500) Subject: bozo: fix -pidfiles default X-Git-Tag: upstream/1.6.17^2~39 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=38a14a9d3744083d30871e71d58ae4dafb8093b9;p=packages%2Fo%2Fopenafs.git 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. Reviewed-on: http://gerrit.openafs.org/11732 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot (cherry picked from commit df05a15ce3cb1c730bf87613711c38fa25be349f) Change-Id: I61f97e5bae24a1ee38526d0f7ff8560e0b7586b2 Reviewed-on: http://gerrit.openafs.org/12086 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk Reviewed-by: Mark Vitale Reviewed-by: Stephan Wiesand --- diff --git a/src/bozo/bosserver.c b/src/bozo/bosserver.c index 9f9f6fa63..179475435 100644 --- a/src/bozo/bosserver.c +++ b/src/bozo/bosserver.c @@ -836,7 +836,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 {