]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
bozo: fix -pidfiles default
authorMichael Meffie <mmeffie@sinenomine.net>
Mon, 9 Feb 2015 20:04:19 +0000 (15:04 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Sat, 14 Nov 2015 16:36:04 +0000 (11:36 -0500)
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 <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit df05a15ce3cb1c730bf87613711c38fa25be349f)

Change-Id: I61f97e5bae24a1ee38526d0f7ff8560e0b7586b2
Reviewed-on: http://gerrit.openafs.org/12086
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/bozo/bosserver.c

index 9f9f6fa633c5dd16abc66bc76936e67d62c2e23c..179475435fbf04ebf08d65b9180faf209c8e1f29 100644 (file)
@@ -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 {