remove loggings

This commit is contained in:
Jakobus Schürz 2022-09-14 16:08:14 +02:00
parent 7708bc3315
commit 751d84b2d0

View file

@ -163,7 +163,6 @@ agent-start-or-restart () {
[ $DISPLAY ] && logtrace "unset DISPLAY: $DISPLAY" [ $DISPLAY ] && logtrace "unset DISPLAY: $DISPLAY"
[ $DISPLAY ] && unset DISPLAY [ $DISPLAY ] && unset DISPLAY
ENTRY
local ssh_identity local ssh_identity
local agentfile local agentfile
local agentsocket local agentsocket
@ -248,14 +247,12 @@ $(ssh-runinagent $agentfile ssh-add -l)"
[ $DISPLAY_ORIG ] && logtrace "reset DISPLAY=$DISPLAY_ORIG" [ $DISPLAY_ORIG ] && logtrace "reset DISPLAY=$DISPLAY_ORIG"
[ $DISPLAY_ORIG ] && export DISPLAY=$DISPLAY_ORIG [ $DISPLAY_ORIG ] && export DISPLAY=$DISPLAY_ORIG
EXIT
return $ret return $ret
} }
agent-load-identity-keys () { agent-load-identity-keys () {
ENTRY
# If DISPLAY is set, ssh-add calls ssh-askpass, and if its in remote-terminal, it wont work # If DISPLAY is set, ssh-add calls ssh-askpass, and if its in remote-terminal, it wont work
# So remember and unset DISPLAY, and set it at the end again, if it was set before # So remember and unset DISPLAY, and set it at the end again, if it was set before
[ $DISPLAY ] && local DISPLAY_ORIG=$DISPLAY [ $DISPLAY ] && local DISPLAY_ORIG=$DISPLAY
@ -371,7 +368,6 @@ agent-load-identity-keys () {
[ $DISPLAY_ORIG ] && logtrace "reset DISPLAY=$DISPLAY_ORIG" [ $DISPLAY_ORIG ] && logtrace "reset DISPLAY=$DISPLAY_ORIG"
[ $DISPLAY_ORIG ] && export DISPLAY=$DISPLAY_ORIG [ $DISPLAY_ORIG ] && export DISPLAY=$DISPLAY_ORIG
EXIT
} }
function check-pubkeysonly () { function check-pubkeysonly () {
@ -392,7 +388,6 @@ function check-pubkeysonly () {
ssh-runinagent () { ssh-runinagent () {
ENTRY
local agentfile local agentfile
local command local command
@ -409,7 +404,6 @@ ssh-runinagent () {
ret=99 ret=99
fi fi
EXIT
return $ret return $ret
} }