diff options
Diffstat (limited to 'wmenu.c')
-rw-r--r-- | wmenu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -19,7 +19,9 @@ static void read_items(struct menu *menu) { int main(int argc, char *argv[]) { struct menu *menu = menu_create(); menu_getopts(menu, argc, argv); - read_items(menu); + if (!menu->passwd) { + read_items(menu); + } int status = menu_run(menu); menu_destroy(menu); return status; |