|
|||||||||||
|
Re: shell : is syntax checking via option -n really working ?
From: Michelle Konzack <linux4michelle(at)freenet.de>
Date: Mon Jul 09 2007 - 09:10:53 EDT
----8<------------------------------------------------------------------proc scpAuth {sock} { global pass clientpass authenticated if {! $authenticated} {
gets $sock passandport
set serverpass [lindex [split $passandport] 1]
if {$serverpass != $clientpass}
{
puts "Wrong authentication from ListClient (SecPanel)
Had to reject connection"
close $sock
return
}
else
{
set authenticated 1
puts "SecPanel sent good authentication.
Now serving..."
GiveList $sock
}
} then else {
^^^^^^^^^
GiveList $sock
} } ----8<------------------------------------------------------------------ Try onla "else" at the "^^^^^^^" line Thanks, Greetings and nice Day
Michelle Konzack
-- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
This archive was generated by hypermail 2.1.8 : Mon Jul 16 2007 - 05:14:00 EDT |
||||||||||
|
|||||||||||