From: Harvie Date: Wed, 25 Apr 2012 12:52:02 +0000 (+0200) Subject: getxsock passes arguments to mkxsock X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=8df8aca072e600350ed5a5a5443b2ffc74dc6163;p=mirrors%2FPrograms.git getxsock passes arguments to mkxsock --- diff --git a/c/vizionix/getxsock.sh b/c/vizionix/getxsock.sh index 5cafc6b..04b6cc6 100755 --- a/c/vizionix/getxsock.sh +++ b/c/vizionix/getxsock.sh @@ -3,7 +3,7 @@ TMPFILE="/tmp/xsock-$USER"; [ -f "$TMPFILE" ] && . "$TMPFILE" [ -n "$XSOCK_PID" ] && kill -0 "$XSOCK_PID" 2>/dev/null || { PATH="./:$PATH" - eval "$(mkxsock | tee $TMPFILE)" + eval "$(mkxsock $@ | tee $TMPFILE)" echo "XSOCK_PID set to $XSOCK_PID" >&2 } export XSOCK_PID XSOCK_WID