diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx index 3eed478c6d..b949aeb81d 100644 --- a/Source/cmSiteNameCommand.cxx +++ b/Source/cmSiteNameCommand.cxx @@ -67,7 +67,7 @@ bool cmSiteNameCommand::InitialPass(std::vector const& args) { std::string host; cmSystemTools::RunSingleCommand(hostname_cmd.c_str(), - &host); + &host, 0, 0, false); // got the hostname if (host.length())