Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 268820
Collapse All | Expand All

(-)scriptlets.d/ssh_and_gpg_agents.orig (+1 lines)
Lines 68-73 Link Here
68
	# ssh-agents are not associated to a tty
68
	# ssh-agents are not associated to a tty
69
	for clearagentspid in $(ps t - | gawk '/gpg-agent --daemon/ {print $1}') ; do
69
	for clearagentspid in $(ps t - | gawk '/gpg-agent --daemon/ {print $1}') ; do
70
		# gpg-agents forget the passphrases when a SIGHUP is sent to them
70
		# gpg-agents forget the passphrases when a SIGHUP is sent to them
71
		ps -p ${clearagentspid} >/dev/null || continue
71
		vecho 2 "kill -SIGHUP ${clearagentspid}"
72
		vecho 2 "kill -SIGHUP ${clearagentspid}"
72
		kill -SIGHUP ${clearagentspid}
73
		kill -SIGHUP ${clearagentspid}
73
	done
74
	done

Return to bug 268820