Commit d34f6d3d authored by Leigh Stoller's avatar Leigh Stoller

Do not do a gethostbyname() on the boss server if running in standalone

mode (-i option), since we are not going to contact boss. This should
solve a startup problem when DNS is not resolving.
parent f6eb42bc
/* /*
* Copyright (c) 2000-2018 University of Utah and the Flux Group. * Copyright (c) 2000-2019 University of Utah and the Flux Group.
* *
* {{{EMULAB-LICENSE * {{{EMULAB-LICENSE
* *
...@@ -590,7 +590,7 @@ main(int argc, char **argv) ...@@ -590,7 +590,7 @@ main(int argc, char **argv)
/* /*
* Verify the bossnode and stash the address info * Verify the bossnode and stash the address info
*/ */
{ if (!standalone) {
struct hostent *he; struct hostent *he;
he = gethostbyname(Bossnode); he = gethostbyname(Bossnode);
......
Markdown is supported
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