Make sure the proper constructor is called and the probe config file is loaded.
git-svn-id: http://voip.null.ro/svn/yate@2592 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
090af32b89
commit
5814bc741c
|
@ -126,7 +126,7 @@ bool UpdateLogic::initializedClient()
|
|||
{
|
||||
// Check if the current user can write to install dir
|
||||
// Disable and uncheck all updater UI controls on failure
|
||||
Configuration cfg = Engine::configFile("updater");
|
||||
Configuration cfg(Engine::configFile("updater"));
|
||||
m_canUpdate = !File::exists(cfg) || cfg.save();
|
||||
if (!m_canUpdate) {
|
||||
Debug(toString(),DebugInfo,"Disabling updates: the current user can't write to '%s'",
|
||||
|
|
Loading…
Reference in New Issue