mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
3ece0cff4d
commit
96521ead10
@ -237,7 +237,7 @@ void DynamicObject::DumpObjects(const String& filename, int attributeTypes)
|
|||||||
fp.open(tempFilename.CStr(), std::ios_base::out);
|
fp.open(tempFilename.CStr(), std::ios_base::out);
|
||||||
|
|
||||||
if (!fp)
|
if (!fp)
|
||||||
BOOST_THROW_EXCEPTION(std::runtime_error("Could not open '" + filename + "' file"));
|
BOOST_THROW_EXCEPTION(std::runtime_error("Could not open '" + tempFilename + "' file"));
|
||||||
|
|
||||||
StdioStream::Ptr sfp = make_shared<StdioStream>(&fp, false);
|
StdioStream::Ptr sfp = make_shared<StdioStream>(&fp, false);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user