[cli][posix] allow Ctrl-D to exit (#2017)

This commit is contained in:
Buke Po
2017-07-21 13:13:49 +08:00
committed by Jonathan Hui
parent 791dd24d07
commit 2aa9830a07
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -897,7 +897,7 @@ exit:
#ifdef OPENTHREAD_EXAMPLES_POSIX
void Interpreter::ProcessExit(int argc, char *argv[])
{
exit(0);
exit(EXIT_SUCCESS);
OT_UNUSED_VARIABLE(argc);
OT_UNUSED_VARIABLE(argv);
}