summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index cb4ca566..c5c3c180 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.224 2005/12/31 13:30:11 kls Exp $
+ * $Id: vdr.c 1.225 2006/01/03 10:20:41 kls Exp $
*/
#include <getopt.h>
@@ -473,6 +473,9 @@ int main(int argc, char *argv[])
isyslog("VDR version %s started", VDRVERSION);
if (StartedAsRoot)
isyslog("switched to user '%s'", VdrUser);
+ if (DaemonMode)
+ dsyslog("running as daemon (tid=%d)", cThread::ThreadId());
+ cThread::SetMainThreadId();
// Main program loop variables - need to be here to have them initialized before any EXIT():