garrick <[EMAIL PROTECTED]> writes:

> > > Clicking on "Console" in mcc results in this error:
> > >   sh: -c: line 1: syntax error near unexpected token `ARRAY(0x84eb9a8)'
> > >   sh: -c: line 1: `ARRAY(0x84eb9a8) &'
> > > Someone didn't dereference an array correctly :)
> > 
> > Line 583 of drakconf.real:
> >   system(($alternate ? $alternate : $exec) . " &");
> > 
> > $alternative is actually an array ref, this fixes this problem:
> >   system(($alternate ? $alternate->[0] : $exec) . " &");
> 
> My bad, the correct line is:
>    system(($alternate->[0] ? $alternate->[0] : $exec) . " &");

Well better:

system(($alternate->[0] || $exec) . " &");

Dams?


-- 
Guillaume Cottenceau - http://www.frozen-bubble.org/

Reply via email to