From 07f7f37f86521c980d474c6882f86f2ce9d0b959 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 17 Jul 2014 16:02:35 +0200 Subject: [PATCH] Inform the user in interaction is only onedirectional --- novaboot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/novaboot b/novaboot index 4d9c8fb..821f33e 100755 --- a/novaboot +++ b/novaboot @@ -979,7 +979,8 @@ if (defined $exp) { if ($interactive && !@exiton) { $interrupt = '"~~."'; } - print "novaboot: Serial line interaction (press $interrupt to interrupt)...\n"; + my $note = (-t STDIN) ? '' : '- only target->host '; + print "novaboot: Serial line interaction $note(press $interrupt to interrupt)...\n"; $exp->log_stdout(1); if (@exiton) { $exp->expect(undef, @expect_raw, @exiton); -- 2.39.2