Skip to content

Commit 9245542

Browse files
authored
Merge pull request #3886 from frej/frej/dont-hardcode-display
util/docker_shell: Don't hard-code DISPLAY for fetching auth info
2 parents e05a2d1 + 6d9fcdd commit 9245542

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎flow/util/docker_shell‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ KLAYOUT_CMD=${KLAYOUT_CMD:-/usr/bin/klayout}
3131

3232
XSOCK=/tmp/.X11-unix
3333
XAUTH=/tmp/.docker.xauth
34-
xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
34+
xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
3535
ARGUMENTS=$@
3636

3737
if test -t 0; then

0 commit comments

Comments
 (0)