nsh: check nsh_consolemain return value

Starting a new console allocates memory dynamically, which can fail.
This commit is contained in:
Niklas Hauser
2023-08-29 10:55:01 -04:00
committed by Daniel Agar
parent cde47e8fc0
commit af40d5befd
2 changed files with 8 additions and 2 deletions