depot/third_party/nixpkgs/pkgs/servers/openafs/1.8/bosserver.patch
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

25 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))