mirror of https://github.com/Icinga/icinga2.git
Fix another case where debug lines were displayed
This commit is contained in:
parent
fd6cdbbc01
commit
40cba8eb5d
|
@ -313,7 +313,7 @@ int check_drives(vector<drive>& vDrives)
|
|||
sDrives.insert(wstring(szVolumePathNames));
|
||||
FindNextVolume(hVolume, szVolumeName, MAX_PATH);
|
||||
}
|
||||
|
||||
if (debug)
|
||||
wcout << L"Creating vector from found volumes, removing cd drives etc.:" << endl;
|
||||
for (set<wstring>::iterator it = sDrives.begin(); it != sDrives.end(); ++it) {
|
||||
UINT type = GetDriveType(it->c_str());
|
||||
|
|
|
@ -256,7 +256,7 @@ int check_update(printInfoStruct& printInfo)
|
|||
|
||||
SysFreeString(criteria);
|
||||
CoUninitialize();
|
||||
return 0;
|
||||
return -1;
|
||||
|
||||
die:
|
||||
die(err);
|
||||
|
|
Loading…
Reference in New Issue