Only warn about missing /proc/<pid>/fd in bughunt-mode (fixes #15)
This commit is contained in:
@@ -155,7 +155,10 @@ void get_info_for_pid(const char * pid) {
|
|||||||
|
|
||||||
if (!dir)
|
if (!dir)
|
||||||
{
|
{
|
||||||
std::cout << "Couldn't open dir " << dirname << ": " << strerror(errno) << "\n";
|
if (bughuntmode)
|
||||||
|
{
|
||||||
|
std::cout << "Couldn't open dir " << dirname << ": " << strerror(errno) << "\n";
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user