summaryrefslogtreecommitdiffstats
path: root/commands/menutree.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/menutree.c')
-rw-r--r--commands/menutree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/menutree.c b/commands/menutree.c
index 5d30b67ee5..ea5f65f3a1 100644
--- a/commands/menutree.c
+++ b/commands/menutree.c
@@ -12,12 +12,15 @@
#include <common.h>
#include <getopt.h>
#include <menu.h>
+#include <password.h>
static int do_menutree(int argc, char *argv[])
{
int opt, ret;
char *path = "/env/menu";
+ login();
+
while ((opt = getopt(argc, argv, "m:")) > 0) {
switch (opt) {
case 'm':