We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ae555 commit 1d20cdcCopy full SHA for 1d20cdc
omxplayer
@@ -44,8 +44,8 @@ if [ -z $NOREFRESH ] || [ "$NOREFRESH" == "0" ]; then
44
fi
45
46
DBUS_CMD="dbus-daemon --fork --print-address 5 --print-pid 6 --session"
47
-OMXPLAYER_DBUS_ADDR="/tmp/omxplayerdbus"
48
-OMXPLAYER_DBUS_PID="/tmp/omxplayerdbus.pid"
+OMXPLAYER_DBUS_ADDR="/tmp/omxplayerdbus.${USER}"
+OMXPLAYER_DBUS_PID="/tmp/omxplayerdbus.${USER}.pid"
49
50
if [ ! -s "$OMXPLAYER_DBUS_PID" ] || ! pgrep -f "$DBUS_CMD" -F "$OMXPLAYER_DBUS_PID" >/dev/null; then
51
#echo "starting dbus for the first time" >&2
0 commit comments