summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrenan2013-05-17 07:27:07 (EDT)
committerDidier Brachet2013-05-17 08:01:19 (EDT)
commit70bf87809cc46cb4d8ef244116ce83dca58ed3e0 (patch)
treec7538f8cf6d2f1f520d41a8488bc16c006cc7fa9
parent9d5716b364d86418cdf5f16493638c27c0851961 (diff)
downloadorg.eclipse.tcf.agent-70bf87809cc46cb4d8ef244116ce83dca58ed3e0.zip
org.eclipse.tcf.agent-70bf87809cc46cb4d8ef244116ce83dca58ed3e0.tar.gz
org.eclipse.tcf.agent-70bf87809cc46cb4d8ef244116ce83dca58ed3e0.tar.bz2
TCF Agent - Bug 408331: Fixed VxWorks build
-rw-r--r--agent/tcf/main/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/tcf/main/main.c b/agent/tcf/main/main.c
index d17cc57..bfd54fc 100644
--- a/agent/tcf/main/main.c
+++ b/agent/tcf/main/main.c
@@ -372,8 +372,10 @@ int main(int argc, char ** argv) {
}
PRE_DAEMON_HOOK;
+#if !defined(_WRS_KERNEL)
if (daemon)
close_out_and_err();
+#endif
#if ENABLE_SignalHandlers
signal(SIGABRT, signal_handler);