ssh-agent: use POSIX conforming if condition

This commit is contained in:
mgdbbrt 2024-09-20 09:38:42 +02:00 committed by GitHub
parent ecaed80b18
commit f48b181f01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
'';