otp script: Printf is not needed here (#1062)

This commit is contained in:
krisdoodle45 2022-01-21 23:17:21 +01:00 committed by GitHub
parent 5f3576da16
commit ebcc52f1fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ case $choice in
if echo "$info" | pass otp insert "$otp"; then
while true ; do
export name="$(prinf | dmenu -p "Give this One Time Password a one-word name:")"
export name="$(dmenu -p "Give this One Time Password a one-word name:")"
echo "$name" | grep -q -- "^[A-z0-9-]\+$" && break
done
pass mv "$otp" "$name-otp"