From 01546d60967f0cb365e6e2ab303abc7d3013b99b Mon Sep 17 00:00:00 2001 From: Evan Purkhiser Date: Sat, 17 Aug 2013 02:36:26 -0400 Subject: [PATCH] Be more specific on grabbing the SSH_AUTH_SOCK --- systemd-user-pam-ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd-user-pam-ssh b/systemd-user-pam-ssh index 59d4bfd..3dfc915 100755 --- a/systemd-user-pam-ssh +++ b/systemd-user-pam-ssh @@ -21,7 +21,7 @@ else export XDG_RUNTIME_DIR=/run/user/$(id -u) # Get the SSH_AUTH_SOCK variable from the user session - export $(systemctl --user show-environment | grep SSH_AUTH_SOCK) + export $(systemctl --user show-environment | grep ^SSH_AUTH_SOCK=) # Ensure the ssh-agent service is started systemctl --user start ssh-agent