From: Michal Sojka Date: Tue, 4 Nov 2014 14:35:20 +0000 (+0100) Subject: Print newline after --exiton triggered exit X-Git-Tag: 20141111~3 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/novaboot.git/commitdiff_plain/52aee802bec2c314204aa8965658438a75f9637d Print newline after --exiton triggered exit Otherwise, cursor might end up in the middle of a line and text printed after novaboot exits starts there. As this might break various things such as test protocol parses, we always end with a new line. --- diff --git a/novaboot b/novaboot index 5f4cfe3..0c2faf1 100755 --- a/novaboot +++ b/novaboot @@ -1095,6 +1095,7 @@ if (defined $exp) { $exp->log_stdout(1); if (@exiton) { $exp->expect($exiton_timeout, @expect_raw, @exiton) || die("exiton timeout"); + print "\n"; } else { my @inputs = ($exp); if (-t STDIN) { # Set up bi-directional communication if we run on terminal