Skip to content

Commit

Permalink
[Server] Return correct error return code for StatLS().
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Jun 17, 2020
1 parent 2baf8f6 commit 960cbc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdOss/XrdOssStat.cc
Expand Up @@ -461,7 +461,7 @@ int XrdOssSys::getCname(const char *path, struct stat *sbuff, char *cgbuff)

// Get regular stat informtion for this file
//
if ((retc = stat(thePath, sbuff))) return retc;
if ((retc = stat(thePath, sbuff))) return -errno;

// Now determine if we should get the cache group name. There is none
// for offline files and it's always public for directories.
Expand Down

0 comments on commit 960cbc5

Please sign in to comment.