revert linking to cat>write

This commit is contained in:
Jakobus Schürz 2020-09-30 00:44:08 +02:00
parent ea015acdd8
commit 0c59d2368e

View file

@ -15,9 +15,9 @@ if [ -n "$SSH_AUTH_SOCK" ] && \
chown $USER ~/.x2go/agentsocket
# write file name of agent socket into file
loginfo "old agentsock $( cat ~/.x2go/agentsocket)"
#echo $SSH_AUTH_SOCK > ~/.x2go/agentsocket
rm ~/.x2go/agentsocket
ln -s $SSH_AUTH_SOCK ~/.x2go/agentsocket
echo $SSH_AUTH_SOCK > ~/.x2go/agentsocket
#rm ~/.x2go/agentsocket
#ln -s $SSH_AUTH_SOCK ~/.x2go/agentsocket
loginfo "write SSH_AUTH_SOCK (${SSH_AUTH_SOCK}) to ~/.x2go/agentsocket"
fi