summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-08-05 12:25:59 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-08-05 12:25:59 -0400
commitf34a3f7b13accbaba31789d0704ec6b6a43bedf1 (patch)
treeb1128620263430f636d1449ec5113d84f78cae5c /src
parente238f6d15705176f076ad02d62501190d1008c92 (diff)
properly clean up temporary keyring with seckey2sshagent.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/seckey2sshagent3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/seckey2sshagent b/src/seckey2sshagent
index deab489..8f3d54d 100755
--- a/src/seckey2sshagent
+++ b/src/seckey2sshagent
@@ -17,7 +17,7 @@
cleanup() {
echo -n "removing temp gpg home... " 1>&2
- rm -rf $FOO
+ rm -rf "$TMPPRIVATE"
echo "done." 1>&2
}
@@ -44,7 +44,6 @@ if you're really sure. Answer yes, because this is only relevant to
the temporary keyring. Then, do:
save
- exit
At this point, your key will be added to your running ssh-agent with
the alias 'monkeysphere-key' and seckey2sshagent should terminate.