Skip to content
Snippets Groups Projects
Commit 63ea6b43 authored by Steven Murray's avatar Steven Murray
Browse files

CASTOR-5097 RFE: Remove hardcoded castorns default value from nsgetpath

Fixed.
parent f6ed3bff
Branches
Tags
No related merge requests found
......@@ -90,8 +90,8 @@ int main(int argc, char**argv) {
buf = getconfent (CNS_SCE, "HOST", 0);
}
if (buf == NULL) {
fprintf(stdout, "Unable to determine which host to contact, used castorns. You can overwrite this with the -h option\n");
buf = "castorns";
fprintf(stderr, "CNS HOST not set\n");
exit (USERR);
}
if (errflg || (fileid == 0)) {
usage (USERR, argv[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment