Commit 039d559f authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fixed bug #76759: nsgetpath should fall back to use default nameserver 'castorns'

parent f49751e0
......@@ -90,8 +90,8 @@ int main(int argc, char**argv) {
buf = getconfent (CNS_SCE, "HOST", 0);
if (buf == NULL) {
fprintf(stderr, "unable to determine which host to contact, please use the -h option\n");
usage (USERR, argv[0]);
fprintf(stdout, "Unable to determine which host to contact, used castorns. You can overwrite this with the -h option\n");
buf = "castorns";
if (errflg || (fileid == 0)) {
usage (USERR, argv[0]);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment