Просмотр исходного кода

Don't prompt for password, if the email address already has a saved

password. This is useful if you copy your .password-store
directory from one computer to another.
pull/985/head
speedie 3 месяцев назад
Родитель
Сommit
11e54213dd
1 измененных файлов: 3 добавлений и 3 удалений
  1. +3
    -3
      bin/mw

+ 3
- 3
bin/mw Просмотреть файл

@@ -173,11 +173,11 @@ askinfo() {
[ -z "$passprefix" ] && passprefix=""
hostname="${fulladdr#*@}"
login="${login:-$fulladdr}"
if [ -n "${password+x}" ]; then
if [ -n "${password+x}" ] && [ ! -f "$PASSWORD_STORE_DIR/$passprefix$fulladdr.gpg" ]; then
insertpass
else
elif [ ! -f "$PASSWORD_STORE_DIR/$passprefix$fulladdr.gpg" ]; then
getpass
fi
fi
}

insertpass() {


Загрузка…
Отмена
Сохранить