Skip to content

Commit 0ac79d2

Browse files
committed
agent: remove pgrep -U arg, broken under zsh
1 parent 7b485df commit 0ac79d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ main()
7777
then
7878
echo "ssh-agent socket is stale"
7979
kill "${_agent_pid}" # kill ssh-agent
80-
killall pgrep ssh-agent -U "$USER"
80+
killall pgrep ssh-agent
8181
cleanup_stale_agent
8282
start_ssh_agent
8383
return

0 commit comments

Comments
 (0)