NX console should only be available if NX multi-user mode is enabled

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4535 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-03-28 17:19:17 +00:00
parent 07e5222a41
commit 9e5d37dcdd
10 changed files with 85 additions and 177 deletions
+1 -5
View File
@@ -57,8 +57,6 @@
#include "nxcon_internal.h"
#ifdef CONFIG_NX_MULTIUSER
/****************************************************************************
* Definitions
****************************************************************************/
@@ -176,7 +174,7 @@ FAR void *nxcon_listener(FAR void *arg)
*/
message("nxcon_listener: Lost server connection: %d\n", errno);
exit(NXEXIT_LOSTSERVERCONN);
exit(EXIT_FAILURE);
}
/* If we received a message, we must be connected */
@@ -189,5 +187,3 @@ FAR void *nxcon_listener(FAR void *arg)
}
}
}
#endif /* CONFIG_NX_MULTIUSER */