mirror of git://anongit.mindrot.org/openssh.git
Restore ssh-agent permissions on exit.
...enough that subsequent builds can overwrite ssh-agent if necessary.
This commit is contained in:
parent
ccf5a13868
commit
5796bf8ca9
|
@ -38,6 +38,7 @@ else
|
|||
$SUDO chown 0 ${SSHAGENT}
|
||||
$SUDO chgrp 0 ${SSHAGENT}
|
||||
$SUDO chmod 2755 ${SSHAGENT}
|
||||
trap "$SUDO chown ${USER} ${SSHAGENT}; $SUDO chmod 755 ${SSHAGENT}" 0
|
||||
fi
|
||||
|
||||
trace "start agent"
|
||||
|
|
Loading…
Reference in New Issue