diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2015-11-28 00:06:33 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2015-11-28 00:06:33 +0200 |
commit | 54a8bafe065785fb6c14ff7a4d5b1478e124addc (patch) | |
tree | aa3756763a12331fa19ee0b84f541333a9648352 /scripts/automation | |
parent | a9f6028ef1214bfed69efd0aff59131327a06b8e (diff) |
restore comment
Diffstat (limited to 'scripts/automation')
-rwxr-xr-x | scripts/automation/trex_control_plane/server/extended_daemon_runner.py | 1 |
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,
|