diff options
author | Timo Weingärtner <timo@tiwe.de> | 2013-06-18 00:23:26 +0200 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2013-06-18 00:23:26 +0200 |
commit | 5a20fe397c6ca9818800ad183d603d5d1ab43a9d (patch) | |
tree | 216099d8bcd5de82b2579f3ae778972f5a5eb9b0 | |
parent | b97f64c5f81c682933ab667dca93e6713efefd51 (diff) | |
download | ssh-agent-filter-5a20fe397c6ca9818800ad183d603d5d1ab43a9d.tar.gz |
remove double quoting caused by using boost::filesystem::path
-rw-r--r-- | ssh-agent-filter.C | 2 |
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); |