From 54a8bafe065785fb6c14ff7a4d5b1478e124addc Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Sat, 28 Nov 2015 00:06:33 +0200 Subject: restore comment --- scripts/automation/trex_control_plane/server/extended_daemon_runner.py | 1 + 1 file changed, 1 insertion(+) 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, -- cgit 1.2.3-korg