[finsh] fixed finsh issue.
Merge pull request #323 from weety/finsh_shell

[finsh] fixed finsh issue.