Proper return value on qshell help

This commit is contained in:
Eric Ye
2016-07-23 08:25:03 +02:00
committed by Julian Oes
parent 76d74640ae
commit 5cee3fa0e1
+1
View File
@@ -149,6 +149,7 @@ int QShell::run_cmd(const std::vector<std::string> &appargs)
if (command.compare("help") == 0) {
list_builtins(apps);
return 0;
}
//replaces app.find with iterator code to avoid null pointer exception