summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/system/kdedmodule/systemdirnotify.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdeioslave/system/kdedmodule/systemdirnotify.cpp b/tdeioslave/system/kdedmodule/systemdirnotify.cpp
index e61a69f28..7d7d615b3 100644
--- a/tdeioslave/system/kdedmodule/systemdirnotify.cpp
+++ b/tdeioslave/system/kdedmodule/systemdirnotify.cpp
@@ -35,11 +35,12 @@ SystemDirNotify::SystemDirNotify()
void SystemDirNotify::init()
{
- if( mInited )
+ if( mInited ) {
// FIXME Work around a probable race condition by inserting printf delay before following
// code is executed -- the root cause of the race needs investigation and resolution.
printf("[systemdirnotify] SystemDirNotify::init(mInited)");
return;
+ }
mInited = true;
TDEGlobal::dirs()->addResourceType("system_entries",
TDEStandardDirs::kde_default("data") + "systemview");