summaryrefslogtreecommitdiffstats
path: root/src/smartauthmon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/smartauthmon.cpp')
-rw-r--r--src/smartauthmon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/smartauthmon.cpp b/src/smartauthmon.cpp
index f2b93df..a5aaebf 100644
--- a/src/smartauthmon.cpp
+++ b/src/smartauthmon.cpp
@@ -683,9 +683,9 @@ int main (int argc, char *argv[])
}
else
{
- // Could not find any existing kdm sessions; start a new one
- systemexec(TRINITY_BIN_PREFIX "kdmctl -g reserve");
- usleep(3000000);
+ // KDM is probably not running yet, as its control directory does not exist
+ // Wait for 10 seconds and try again
+ usleep(10000000);
}
}