aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2014-07-10 11:56:18 -0600
committerRob Savoye <rob.savoye@linaro.org>2014-07-10 11:56:18 -0600
commit814229879c1e89986ae674f95d18ca5afa40805e (patch)
tree9f0eb25fc50db823edd6d9de4bca48f87a8d4eeb
parent4bf02973b67f5409fd975e620e33751a4aa4f8fb (diff)
use C comments instead of C++
-rw-r--r--gethost.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gethost.cc b/gethost.cc
index c7c1fc1..3a97c08 100644
--- a/gethost.cc
+++ b/gethost.cc
@@ -231,6 +231,10 @@ main(int argc, char *argv[])
return -1;
}
+ /*
+ * Don't execute a remote command, just return the IP number for some other
+ * program to remotely execute something on that host.
+ */
if (node) {
fprintf(stdout, "%s\n", resolved_name.c_str());
return -1;