fix logic error when --autotype is set
This commit is contained in:
parent
15269b633a
commit
29decbf0c2
@ -142,7 +142,7 @@ elif [ "$autotype" -ne 1 ]; then
|
|||||||
field=$(printf '%s\n' "$field_list" | wofi --dmenu)
|
field=$(printf '%s\n' "$field_list" | wofi --dmenu)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$field" = "autotype" ] || [ "$autotype" -eq 1 ]; then
|
if [ "$autotype" -eq 1 ] || [ "$field" = "autotype" ]; then
|
||||||
if [ "$fileisuser" -eq 1 ]; then
|
if [ "$fileisuser" -eq 1 ]; then
|
||||||
username="$passname"
|
username="$passname"
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user