summaryrefslogtreecommitdiff
path: root/ssh-agent-filter.C
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2013-06-18 00:23:26 +0200
committerTimo Weingärtner <timo@tiwe.de>2013-06-18 00:23:26 +0200
commit5a20fe397c6ca9818800ad183d603d5d1ab43a9d (patch)
tree216099d8bcd5de82b2579f3ae778972f5a5eb9b0 /ssh-agent-filter.C
parentb97f64c5f81c682933ab667dca93e6713efefd51 (diff)
downloadssh-agent-filter-5a20fe397c6ca9818800ad183d603d5d1ab43a9d.tar.gz
remove double quoting caused by using boost::filesystem::path
Diffstat (limited to 'ssh-agent-filter.C')
-rw-r--r--ssh-agent-filter.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-agent-filter.C b/ssh-agent-filter.C
index 30e3eee..0d83cef 100644
--- a/ssh-agent-filter.C
+++ b/ssh-agent-filter.C
@@ -350,7 +350,7 @@ int main (int const argc, char const * const * const argv) {
exit(EX_OSERR);
}
if (pid > 0) {
- std::cout << "SSH_AUTH_SOCK='" << path << "'; export SSH_AUTH_SOCK;" << std::endl;
+ std::cout << "SSH_AUTH_SOCK='" << path.native() << "'; export SSH_AUTH_SOCK;" << std::endl;
std::cout << "SSH_AGENT_PID='" << pid << "'; export SSH_AGENT_PID;" << std::endl;
std::cout << "echo 'Agent pid " << pid << "';" << std::endl;
exit(EX_OK);