aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authordrduh <github@duh.to>2022-12-26 10:07:53 -0800
committerGitHub <noreply@github.com>2022-12-26 10:07:53 -0800
commit0666a2b38c46478b773b9c5a7197420b84d585d3 (patch)
tree72d718e65d011eaaf5ad48ef6ae7a0cf3e0b970e /README.md
parentMerge pull request #350 from Flower7C3/patch-1 (diff)
parentreorder cleanup (diff)
downloadYubiKey-Guide-0666a2b38c46478b773b9c5a7197420b84d585d3.tar.gz
Merge pull request #356 from OrganicPanda/patch-1
Reorder cleanup commands
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 024b8c7..ee25016 100644
--- a/README.md
+++ b/README.md
@@ -1808,10 +1808,10 @@ Ensure you have:
Reboot or [securely delete](http://srm.sourceforge.net/) `$GNUPGHOME` and remove the secret keys from the GPG keyring:
```console
-$ sudo srm -r $GNUPGHOME || sudo rm -rf $GNUPGHOME
-
$ gpg --delete-secret-key $KEYID
+$ sudo srm -r $GNUPGHOME || sudo rm -rf $GNUPGHOME
+
$ unset GNUPGHOME
```