aboutsummaryrefslogtreecommitdiff
path: root/wmenu.c
diff options
context:
space:
mode:
authoradnano <me@adnano.co>2024-05-04 21:41:21 -0400
committeradnano <me@adnano.co>2024-05-04 21:41:21 -0400
commitc05ab7520b452ee3b8bd974a18511dc370cbeabe (patch)
tree6983a51d1fdc7f45cf9b97c7957b81ac8b0fc836 /wmenu.c
parent81d46e39120bcb7c24cec2105e05f3524e8bd548 (diff)
downloadwmenu-c05ab7520b452ee3b8bd974a18511dc370cbeabe.tar.gz
Remove wmenu -P flag
This flag causes some issues with wmenu-run. It will be revisited in the next release.
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;