Copy recovered keys to root
This commit is contained in:
parent
a2c59b9e79
commit
840131cae4
|
@ -236,6 +236,9 @@ function interactive_key_recovery {
|
|||
255) return;;
|
||||
esac
|
||||
${PROJECT_NAME}-recoverkey -u $MY_USERNAME
|
||||
if [ -d /home/$MY_USERNAME/.gnupg ]; then
|
||||
cp -rf /home/$MY_USERNAME/.gnupg /root
|
||||
fi
|
||||
}
|
||||
|
||||
# NOTE: deliberately there is no "exit 0"
|
||||
|
|
Loading…
Reference in New Issue