]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
Inform the user in interaction is only onedirectional
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 17 Jul 2014 14:02:35 +0000 (16:02 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 17 Jul 2014 14:10:05 +0000 (16:10 +0200)
novaboot

index 4d9c8fbb8786b9931686ab5846745869c9c35bf2..821f33ed2df7cb662479e1fb43d36d7f4690ab07 100755 (executable)
--- 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);