summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index e2541c257c..36450b4d59 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -625,7 +625,7 @@ static bool dirbrowse(void)
625 break; 625 break;
626 } 626 }
627 /* if we are in /, nothing to do */ 627 /* if we are in /, nothing to do */
628 if (tc.dirlevel == 0) 628 if (tc.dirlevel == 0 && !strcmp(currdir,"/"))
629 break; 629 break;
630 630
631 if (id3db) 631 if (id3db)