summaryrefslogtreecommitdiffstats
path: root/common/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/parser.c')
-rw-r--r--common/parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/parser.c b/common/parser.c
index 207599f429..ed414d04ea 100644
--- a/common/parser.c
+++ b/common/parser.c
@@ -1,5 +1,6 @@
#include <common.h>
#include <command.h>
+#include <password.h>
#include <environment.h>
#include <shell.h>
@@ -266,6 +267,8 @@ int run_shell(void)
int len;
int rc = 1;
+ login();
+
for (;;) {
len = readline (CONFIG_PROMPT, console_buffer, CONFIG_CBSIZE);