ssh-agent: use POSIX-conform test for session variables
This commit is contained in:
parent
d7830d0542
commit
c9366cfa02
|
@ -20,7 +20,7 @@ in {
|
|||
];
|
||||
|
||||
home.sessionVariablesExtra = ''
|
||||
if [[ -z "$SSH_AUTH_SOCK" ]]; then
|
||||
if [ -z "$SSH_AUTH_SOCK" ]; then
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
|
||||
fi
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue