From 29decbf0c22b9e043fb3e9ca26212af90078879b Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Mon, 26 Sep 2022 16:32:55 -0400 Subject: [PATCH] fix logic error when --autotype is set --- wofi-pass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wofi-pass b/wofi-pass index de67f38..cdb9b10 100755 --- a/wofi-pass +++ b/wofi-pass @@ -142,7 +142,7 @@ elif [ "$autotype" -ne 1 ]; then field=$(printf '%s\n' "$field_list" | wofi --dmenu) fi -if [ "$field" = "autotype" ] || [ "$autotype" -eq 1 ]; then +if [ "$autotype" -eq 1 ] || [ "$field" = "autotype" ]; then if [ "$fileisuser" -eq 1 ]; then username="$passname" else