Update of /cvsroot/sandweb/sandweb/lib/SandWeb
In directory sc8-pr-cvs1:/tmp/cvs-serv3494/lib/SandWeb
Modified Files:
Shell.pm
Log Message:
better fix for avoiding SSH output but still getting CVS output.
Index: Shell.pm
===================================================================
RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Shell.pm,v
retrieving revision 1.30
retrieving revision 1.31
diff -U2 -r1.30 -r1.31
--- Shell.pm 31 Jan 2003 06:49:32 -0000 1.30
+++ Shell.pm 1 Feb 2003 03:42:43 -0000 1.31
@@ -373,6 +373,8 @@
$raw_output =~ s/^M/\n/g;
my @lined_output = split(/\n/, $raw_output);
- #shift @lined_output;
shift @lined_output;
+ if ( "@lined_output" =~ "'s password:" ) {
+ shift @lined_output;
+ }
if ( "@lined_output" =~ "^RSA key fingerprint is" ) {
shift @lined_output;
|