change output
This commit is contained in:
parent
c6398a4a87
commit
283bb593e6
1 changed files with 3 additions and 3 deletions
|
@ -14,9 +14,9 @@ if [ -n "$SSH_AUTH_SOCK" ] && \
|
||||||
chmod 600 ~/.x2go/agentsocket
|
chmod 600 ~/.x2go/agentsocket
|
||||||
chown $USER ~/.x2go/agentsocket
|
chown $USER ~/.x2go/agentsocket
|
||||||
# write file name of agent socket into file
|
# write file name of agent socket into file
|
||||||
logdebug old agentsock $( cat ~/.x2go/agentsocket)
|
loginfo "old agentsock $( cat ~/.x2go/agentsocket)"
|
||||||
echo $SSH_AUTH_SOCK > ~/.x2go/agentsocket
|
echo $SSH_AUTH_SOCK > ~/.x2go/agentsocket
|
||||||
logdebug "write SSH_AUTH_SOCK (${SSH_AUTH_SOCK}) to ~/.x2go/agentsocket"
|
loginfo "write SSH_AUTH_SOCK (${SSH_AUTH_SOCK}) to ~/.x2go/agentsocket"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Part that runs in X2Go session
|
# Part that runs in X2Go session
|
||||||
|
@ -42,7 +42,7 @@ if which x2golistsessions >/dev/null && \
|
||||||
if [ -S "$MIGHTBEOURAGENT" ]; then
|
if [ -S "$MIGHTBEOURAGENT" ]; then
|
||||||
# export path to agent socket
|
# export path to agent socket
|
||||||
export SSH_AUTH_SOCK=$MIGHTBEOURAGENT
|
export SSH_AUTH_SOCK=$MIGHTBEOURAGENT
|
||||||
logdebug export it
|
logdebug "export it"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue