diff options
Diffstat (limited to 'topology/mktopology.cpp')
-rw-r--r-- | topology/mktopology.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/topology/mktopology.cpp b/topology/mktopology.cpp index 630aad7c..b1d53683 100644 --- a/topology/mktopology.cpp +++ b/topology/mktopology.cpp @@ -23,7 +23,7 @@ int main(int argc,char **argv) std::string buf; if (!Utils::readFile("topology.secret",buf)) { - std::cout << "Cannot read topology.secret" << std::endl; + std::cerr << "Cannot read topology.secret" << std::endl; return 1; } Identity topologyAuthority(buf); @@ -36,7 +36,7 @@ int main(int argc,char **argv) if ((sn->first.length() == 10)&&(!sn->second)) { buf.clear(); if (!Utils::readFile((std::string("supernodes/")+sn->first).c_str(),buf)) { - std::cout << "Cannot read supernodes/" << sn->first << std::endl; + std::cerr << "Cannot read supernodes/" << sn->first << std::endl; return 1; } supernodes[sn->first] = buf; @@ -45,7 +45,7 @@ int main(int argc,char **argv) topology["supernodes"] = supernodes.toString(); if (!topology.sign(topologyAuthority)) { - std::cout << "Unable to sign!" << std::endl; + std::cerr << "Unable to sign!" << std::endl; return 1; } |