nixpkgs/pkgs/servers/openafs/1.8/bosserver.patch
Anders Kaseorg ebb1bd4541 openafs: 1.8.10 → 1.8.11
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-03-24 20:18:08 -07:00

26 lines
762 B
Diff

diff --git a/src/bozo/bosserver.c b/src/bozo/bosserver.c
index 371cb638e4..e4d58c3562 100644
--- a/src/bozo/bosserver.c
+++ b/src/bozo/bosserver.c
@@ -246,20 +246,6 @@ MakeDir(const char *adir)
static int
CreateDirs(const char *coredir)
{
- if (!strncmp
- (AFSDIR_USR_DIRPATH, AFSDIR_SERVER_BIN_DIRPATH,
- strlen(AFSDIR_USR_DIRPATH))) {
- if (MakeDir(AFSDIR_USR_DIRPATH))
- return errno;
- }
- if (!strncmp
- (AFSDIR_SERVER_AFS_DIRPATH, AFSDIR_SERVER_BIN_DIRPATH,
- strlen(AFSDIR_SERVER_AFS_DIRPATH))) {
- if (MakeDir(AFSDIR_SERVER_AFS_DIRPATH))
- return errno;
- }
- if (MakeDir(AFSDIR_SERVER_BIN_DIRPATH))
- return errno;
if (MakeDir(AFSDIR_SERVER_ETC_DIRPATH))
return errno;
if (MakeDir(AFSDIR_SERVER_LOCAL_DIRPATH))