aboutsummaryrefslogtreecommitdiff
path: root/wmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'wmenu.c')
-rw-r--r--wmenu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wmenu.c b/wmenu.c
index 0a3d0b0..e7d37d9 100644
--- a/wmenu.c
+++ b/wmenu.c
@@ -19,9 +19,7 @@ static void read_items(struct menu *menu) {
int main(int argc, char *argv[]) {
struct menu *menu = menu_create();
menu_getopts(menu, argc, argv);
- if (!menu->passwd) {
- read_items(menu);
- }
+ read_items(menu);
int status = menu_run(menu);
menu_destroy(menu);
return status;