Fixed subtle bug in prompt
authorAndrew DeFaria <Andrew.DeFaria@Broadcom.com>
Wed, 1 Feb 2017 02:21:06 +0000 (18:21 -0800)
committerAndrew DeFaria <Andrew.DeFaria@Broadcom.com>
Wed, 1 Feb 2017 02:21:06 +0000 (18:21 -0800)
lib/Rexec.pm

index 6db5735..2eecab8 100644 (file)
@@ -239,7 +239,7 @@ sub ssh {
 
   if ($logged_in) {
     # It's always hard to find the prompt. So let's make a distintive one
-    $self->{prompt} = '@@@';
+    $self->{prompt} = "\n@@@";
     $self->{handle} = $remote;
 
     # OK this is real tricky. If we call execute with a command of PS1=@@@