Update of /cvsroot/sandweb/sandweb/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv5410/bin
Modified Files:
sandweb-expect
Log Message:
damn, found a bug already :)
the script wasn't catching when a bad password was entered. I corrected
it, and simplified it even more in the process.
Index: sandweb-expect
===================================================================
RCS file: /cvsroot/sandweb/sandweb/bin/sandweb-expect,v
retrieving revision 1.12
retrieving revision 1.13
diff -U2 -r1.12 -r1.13
--- sandweb-expect 1 Apr 2003 01:21:40 -0000 1.12
+++ sandweb-expect 1 Apr 2003 20:14:11 -0000 1.13
@@ -21,7 +21,9 @@
expect {
"password:" { send "$vcs_password\r" }
+ eof { exit 0 }
+ }
+ expect {
"denied" { exit 2 }
eof { exit 0 }
-
}
|