mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
ebb1bd4541
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
26 lines
762 B
Diff
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))
|