Skip to content
Snippets Groups Projects
Commit 0b42f8a1 authored by nimrod's avatar nimrod
Browse files

Fix!

parent 9c5bbeb0
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ set -eu
host="$1"
localsocket="$HOME/.ssh/docker_$host.sock"
[ ! -e "$localsocket" ] || lsof -f "$localsocket" >/dev/null || rm "$localsocket"
[ ! -e "$localsocket" ] || lsof -t "$localsocket" >/dev/null || rm "$localsocket"
forward "$host" "$localsocket:/var/run/docker.sock" > /dev/null 2>&1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment