Merge pull request #250 from grissiom/msh-next

[msh] don't complain on empty command
This commit is contained in:
Bernard Xiong 2014-03-29 14:50:04 +08:00
commit a82ad3e380

View File

@ -292,6 +292,9 @@ int msh_exec(char* cmd, rt_size_t length)
length--;
}
if (length == 0)
return 0;
/* Exec sequence:
* 1. built-in command
* 2. module(if enabled)