summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/server
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2015-11-28 00:06:33 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2015-11-28 00:06:33 +0200
commit54a8bafe065785fb6c14ff7a4d5b1478e124addc (patch)
treeaa3756763a12331fa19ee0b84f541333a9648352 /scripts/automation/trex_control_plane/server
parenta9f6028ef1214bfed69efd0aff59131327a06b8e (diff)
restore comment
Diffstat (limited to 'scripts/automation/trex_control_plane/server')
-rwxr-xr-xscripts/automation/trex_control_plane/server/extended_daemon_runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/server/extended_daemon_runner.py b/scripts/automation/trex_control_plane/server/extended_daemon_runner.py
index a374db30..7bc25aac 100755
--- a/scripts/automation/trex_control_plane/server/extended_daemon_runner.py
+++ b/scripts/automation/trex_control_plane/server/extended_daemon_runner.py
@@ -78,6 +78,7 @@ class ExtendedDaemonRunner(runner.DaemonRunner):
try:
self.daemon_context.stdout = open(app.stdout_path, 'w+t')
except IOError as err:
+ # catch 'tty' error when launching server from remote location
app.stdout_path = "/dev/null"
self.daemon_context.stdout = open(app.stdout_path, 'w+t')
self.daemon_context.stderr = open(app.stderr_path,