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,8 +313,8 @@ int check_drives(vector<drive>& vDrives)
|
||||||
sDrives.insert(wstring(szVolumePathNames));
|
sDrives.insert(wstring(szVolumePathNames));
|
||||||
FindNextVolume(hVolume, szVolumeName, MAX_PATH);
|
FindNextVolume(hVolume, szVolumeName, MAX_PATH);
|
||||||
}
|
}
|
||||||
|
if (debug)
|
||||||
wcout << L"Creating vector from found volumes, removing cd drives etc.:" << endl;
|
wcout << L"Creating vector from found volumes, removing cd drives etc.:" << endl;
|
||||||
for (set<wstring>::iterator it = sDrives.begin(); it != sDrives.end(); ++it) {
|
for (set<wstring>::iterator it = sDrives.begin(); it != sDrives.end(); ++it) {
|
||||||
UINT type = GetDriveType(it->c_str());
|
UINT type = GetDriveType(it->c_str());
|
||||||
if (type == DRIVE_FIXED || type == DRIVE_REMOTE) {
|
if (type == DRIVE_FIXED || type == DRIVE_REMOTE) {
|
||||||
|
|
|
@ -256,7 +256,7 @@ int check_update(printInfoStruct& printInfo)
|
||||||
|
|
||||||
SysFreeString(criteria);
|
SysFreeString(criteria);
|
||||||
CoUninitialize();
|
CoUninitialize();
|
||||||
return 0;
|
return -1;
|
||||||
|
|
||||||
die:
|
die:
|
||||||
die(err);
|
die(err);
|
||||||
|
|
Loading…
Reference in New Issue