Skip to content

Commit

Permalink
Merge pull request #214 from vitreuz/master
Browse files Browse the repository at this point in the history
Explicitly name signal being trapped
  • Loading branch information
vito committed Oct 11, 2018
2 parents 890198e + df41c27 commit b053515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ load_pubkey() {
chmod 0600 $private_key_path

eval $(ssh-agent) >/dev/null 2>&1
trap "kill $SSH_AGENT_PID" 0
trap "kill $SSH_AGENT_PID" EXIT

SSH_ASKPASS=$(dirname $0)/askpass.sh DISPLAY= ssh-add $private_key_path >/dev/null

Expand Down

0 comments on commit b053515

Please sign in to comment.