X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fgrml-quickconfig;h=aef071a60689382d118cf1e0762d47bdbadf1d43;hb=4b2b3142ab74d280149780a3e466db0038291054;hp=160982f5fe48d2c4046deac72cafe663f0019cd6;hpb=ddb66034a08c1506efbd323830d03e544f7656fb;p=grml-scripts.git diff --git a/usr_sbin/grml-quickconfig b/usr_sbin/grml-quickconfig index 160982f..aef071a 100755 --- a/usr_sbin/grml-quickconfig +++ b/usr_sbin/grml-quickconfig @@ -109,7 +109,7 @@ EOF print $N.$/.$/; if (defined($menu_commands{$x})) { $command = $menu_commands{$x}; - } elsif ($x eq "\n") { + } elsif ($x eq "\n" || $x eq ' ') { $command= 'exit'; } elsif ($x eq "x") { print <<"EOF"; @@ -136,7 +136,8 @@ EOF if (defined($windowmanagers{$x})) { $command = "su - grml -c 'grml-x ".$windowmanagers{$x}."'"; } else { - print "Unknown key. Returning to main menu.\n"; + print "Unknown key, not bound to a windowmanager.\n"; + print "Returning to main menu.\n"; } } else { print "Unknown key.\n";