Menu

#22 Gui can't be started from text mode

open
nobody
None
5
2001-10-09
2001-10-09
No

When I type gui in text mode sixpack replies that it
doesn't know command 'gui'. I've found the bug in
the code:

In sub cmd you check to see if $string is equal to
^\s*gui\n but you have just chopped string so the
newline is never present.

To fix it:

replace the \n by $ to get
if ( $string =~ /^\s*gui$/ ) { guiMain ();next
switch; }

This works.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB