support q to quit. close #1075

This commit is contained in:
hengyunabc 2020-03-26 20:00:08 +08:00
parent 91968f18ed
commit 8ccdb43975

View File

@ -41,7 +41,7 @@ public class ShellLineHandler implements Handler<String> {
}
String name = first.value();
if (name.equals("exit") || name.equals("logout") || name.equals("quit")) {
if (name.equals("exit") || name.equals("logout") || name.equals("q") || name.equals("quit")) {
handleExit();
return;
} else if (name.equals("jobs")) {