fix logic error when --autotype is set

This commit is contained in:
Joel Beckmeyer 2022-09-26 16:32:55 -04:00
parent 15269b633a
commit 29decbf0c2
1 changed files with 1 additions and 1 deletions

View File

@ -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