On Thu, Sep 09, 1999 at 06:40:00PM +0100, Jonathan Allen wrote:
> Ed Dolittle said:
> 
> >>> Sep 8 17:11:12 mirror diald[4308]: connector: /usr/lib/diald/connect:
> >>> [: to: binary operator expected
> 
> 
> > [ $FIFO ] && echo "message $*" >$FIFO
> 
> This should read
> 
> [ -p "$FIFO" -a -w "$FIFO" ] && ...
> 
> > if [ $PROMPT ]; then
> 
> if [ -n "$PROMPT" ]; then
> 
> > if [ $START_ACK ]; then
> 
> if [ -n "$START_ACK" ]; then
> 
> That seems to have made the problem go away - at least I haven't seen it
> misbehave yet.  I'll come back if it dares to squeak again.  Odd, as it
> is the script that came out of the diald-0.99.1.tar.gz package.

Not so odd when you consider that the script expects to login and start
ppp manually.  Most people now use pap or chap authentication, which
means that most of the broken code is usually deleted and rarely tested.

The script is sufficiently old that the brokenness could probably be
attributed to changes in the bash code.  I bet $.02 it would work fine
on bash v 1.14 or earlier.

-- 
  Gyepi Sam  --+--  Designer/Programmer  --+--  Network/System Administrator   
  [EMAIL PROTECTED]         --+--          http://www.praxis-sw.com/gyepi

  Sorry, no fortune this time.


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to