[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Two more problems on starting up system after Christmas break... #2



On Wed, 2006-01-04 at 15:05, Roger wrote:
> > > The second thing that comes up is when I su into root on the server I always
> > > get this printed out in the console...
> > >
> > > [jim linux-thin1 ~]$ su -
> > > Password:
> > > -bash: [: lib01: unary operator expected
> > > -bash: [: lib02: unary operator expected
> > > -bash: [: lib03: unary operator expected
> > > .
> > > .
> > > .
> > > -bash: [: ws028: unary operator expected
> > >
> > > Things seem to be working though but I don't know why I'm getting this.
> >
> > Do you have a syntax error in root's .bashrc file?  An
> > ls -alrt in root's home will show what changed recently
> > at the bottom of the list.
> 
> Wont a comparison on an undefined variable get that error also?

If it isn't double-quoted, but I'd call that a syntax error.

-- 
  Les Mikesell
    les futuresource com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]