open
verbosity
This commit is contained in:
parent
4451000fef
commit
0f914c825f
1 changed files with 3 additions and 1 deletions
4
gpgtool
4
gpgtool
|
@ -162,7 +162,9 @@ open () {
|
||||||
else
|
else
|
||||||
gpg --homedir "${tempdir}/gpghome" --import-options keep-ownertrust \
|
gpg --homedir "${tempdir}/gpghome" --import-options keep-ownertrust \
|
||||||
--import "${keypath}/${id}/${id}.private.asc"
|
--import "${keypath}/${id}/${id}.private.asc"
|
||||||
[[ $? == 0 ]] && ln -sf ${key} ${tempdir}/gpghome/private-keys-v1.d/
|
[[ $? != 0 ]] && exit 1
|
||||||
|
ln -sf ${key} ${tempdir}/gpghome/private-keys-v1.d/
|
||||||
|
echo -e "\nKey ${id} opened. Try \`gpgtool extend ${id}\` next."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue