Skip to content

Commit

Permalink
[Server] Recognize the cache option when doing generic locate.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Jun 10, 2020
1 parent b2ead23 commit b24fda0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/XrdOfs/XrdOfsConfig.cc
Expand Up @@ -854,7 +854,8 @@ int XrdOfs::xexp(XrdOucStream &Config, XrdSysError &Eroute, bool isExport)
//
while((val = Config.GetWord()))
{for (int i = 0; i < numopts; i++)
if (!strcmp(val, rwtab[i].opname)) {isrw = rwtab[i].isRW; break;}
if (!strcmp(val, rwtab[i].opname)) isrw = rwtab[i].isRW;
else if (!strcmp(val, "cache")) {isrw = 0; break;}
}

// Handle result depending if this is an export or a defaults
Expand Down

0 comments on commit b24fda0

Please sign in to comment.