fix quotes

This commit is contained in:
Jakobus Schürz 2020-09-23 10:16:52 +02:00
parent 3fad3ae6e8
commit 40c5bb45a7

View file

@ -146,7 +146,7 @@ export -f reachable-default
[ -z "${SSH_AGENTS_DEFAULT_DIR+x}" ] || mkdir -p "${SSH_AGENTS_DEFAULT_DIR}"
cat << EOF > ${SSH_AGENTS_DEFAULT_DIR}"/agent-default-$(hostname)
cat << EOF > "${SSH_AGENTS_DEFAULT_DIR}/agent-default-$(hostname)"
SSH_AUTH_SOCK=${SSH_AUTH_SOCK}; export SSH_AUTH_SOCK;
SSH_AGENT_PID=${SSH_AGENT_PID}; export SSH_AGENT_PID;
loginfo Agent pid ${SSH_AGENT_PID};