Skip to content
Snippets Groups Projects
Commit 840131ca authored by Bob Mottram's avatar Bob Mottram
Browse files

Copy recovered keys to root

parent a2c59b9e
No related branches found
No related tags found
No related merge requests found
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment