diff --git a/src/NetUtils.cc b/src/NetUtils.cc index e58365415..30a799f85 100644 --- a/src/NetUtils.cc +++ b/src/NetUtils.cc @@ -401,14 +401,6 @@ inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE result = pd.pw_name; break; } - else - { - std::cerr << "Error getting username: no matching password record.\n"; - } - } - else - { - std::cerr << "Error getting username: " << strerror(errno) << std::endl; } }