I have sent the following patch to [log in to unmask].
[itctabuild02] xrootd (master) > cat 0001-xrdfs-man-page-should-document-return-code-55-806.patch
From d48151ae5eb9c18316f6b1e85504a9fc7ac0ca2e Mon Sep 17 00:00:00 2001
From: Steven Murray <[log in to unmask]>
Date: Thu, 23 Aug 2018 10:24:18 +0200
Subject: [PATCH] xrdfs man page should document return code 55 #806
Done
---
docs/man/xrdfs.1 | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/docs/man/xrdfs.1 b/docs/man/xrdfs.1
index 8b9dfe6..d33699f 100644
--- a/docs/man/xrdfs.1
+++ b/docs/man/xrdfs.1
@@ -77,8 +77,8 @@ Move path1 to path2 locally on the same server.
.RS 3
Get info about the file or directory.
.br
-\fI-q\fR query optional flag query parameter that makes
-xrdfs return error code to the shell if the
+\fI-q\fR \fB<flags>\fR Makes
+xrdfs return error code 55 to the shell if the
requested flag combination is not present;
flags may be combined together using '|' or '&'
.br
@@ -212,6 +212,20 @@ Output last part of files to stdout.
.RS 3
Get space statistics for given path.
+.SH RETURN CODES
+.RE
+\fB50\fR : generic error (e.g. config, internal, data, OS)
+
+\fB51\fR : socket related error
+
+\fB52\fR : postmaster related error
+
+\fB53\fR : XRootD related error
+
+\fB54\fR : redirection error
+
+\fB55\fR : query response was negative (this is not an error)
+
.SH NOTES
For the list of available environment variables please refere to xrdcopy(1)
--
1.8.3.1
[itctabuild02] xrootd (master) >
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@murrayc3 in #806: I have sent the following patch to [log in to unmask]\r\n\r\n```\r\n[itctabuild02] xrootd (master) \u003e cat 0001-xrdfs-man-page-should-document-return-code-55-806.patch\r\nFrom d48151ae5eb9c18316f6b1e85504a9fc7ac0ca2e Mon Sep 17 00:00:00 2001\r\nFrom: Steven Murray \[log in to unmask]\u003e\r\nDate: Thu, 23 Aug 2018 10:24:18 +0200\r\nSubject: [PATCH] xrdfs man page should document return code 55 #806\r\n\r\nDone\r\n---\r\n docs/man/xrdfs.1 | 18 ++++++++++++++++--\r\n 1 file changed, 16 insertions(+), 2 deletions(-)\r\n\r\ndiff --git a/docs/man/xrdfs.1 b/docs/man/xrdfs.1\r\nindex 8b9dfe6..d33699f 100644\r\n--- a/docs/man/xrdfs.1\r\n+++ b/docs/man/xrdfs.1\r\n@@ -77,8 +77,8 @@ Move path1 to path2 locally on the same server.\r\n .RS 3\r\n Get info about the file or directory.\r\n .br\r\n-\\fI-q\\fR query optional flag query parameter that makes\r\n-xrdfs return error code to the shell if the\r\n+\\fI-q\\fR \\fB\u003cflags\u003e\\fR Makes\r\n+xrdfs return error code 55 to the shell if the\r\n requested flag combination is not present;\r\n flags may be combined together using '|' or '\u0026'\r\n .br\r\n@@ -212,6 +212,20 @@ Output last part of files to stdout.\r\n .RS 3\r\n Get space statistics for given path.\r\n \r\n+.SH RETURN CODES\r\n+.RE\r\n+\\fB50\\fR : generic error (e.g. config, internal, data, OS)\r\n+\r\n+\\fB51\\fR : socket related error\r\n+\r\n+\\fB52\\fR : postmaster related error\r\n+\r\n+\\fB53\\fR : XRootD related error\r\n+\r\n+\\fB54\\fR : redirection error\r\n+\r\n+\\fB55\\fR : query response was negative (this is not an error)\r\n+\r\n .SH NOTES\r\n For the list of available environment variables please refere to xrdcopy(1)\r\n \r\n-- \r\n1.8.3.1\r\n\r\n[itctabuild02] xrootd (master) \u003e \r\n```"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/806#issuecomment-415335715"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/xrootd/xrootd/issues/806#issuecomment-415335715",
"url": "https://github.com/xrootd/xrootd/issues/806#issuecomment-415335715",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [xrootd/xrootd] xrdfs man page should document return code 55 (#806)",
"sections": [
{
"text": "",
"activityTitle": "**murrayc3**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@murrayc3",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 806,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 806\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/xrootd/xrootd/issues/806#issuecomment-415335715"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 371474741\n}"
}
],
"themeColor": "26292E"
}
]
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1