Skip to content
Snippets Groups Projects
Commit 5b811fac authored by Beat Küng's avatar Beat Küng
Browse files

posix console/scripts: treat lines starting with # as comment

parent a7c7a46b
No related branches found
No related tags found
No related merge requests found
......@@ -119,12 +119,10 @@ static void run_cmd(const vector<string> &appargs, bool exit_on_fail)
}
}
} else if (command.compare("help") == 0) {
list_builtins();
} else if (command.length() == 0) {
} else if (command.length() == 0 || command[0] == '#') {
// Do nothing
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment