locale: disable for libwrap because it breaks the daemon

Change-Id: I4d40967e1def4323696b4ea7b42d449ade9f86f4
parent 6632541d
......@@ -65,8 +65,10 @@ public:
Lrc::Lrc(MigrationCb willDoMigrationCb, MigrationCb didDoMigrationCb)
{
#ifndef ENABLE_LIBWRAP
// Replace locale for timestamps
std::locale::global(std::locale(""));
#endif
// Ensure Daemon is running/loaded (especially on non-DBus platforms)
// before instantiating LRC and its members
InstanceManager::instance();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment