From 3194859f55e463d020f336284ef61e37a61c70f3 Mon Sep 17 00:00:00 2001 From: lemniskett Date: Thu, 29 Oct 2020 04:08:09 +0000 Subject: [PATCH] Yet another dbus quick fix. --- archboxcommand.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archboxcommand.bash b/archboxcommand.bash index 5c8d886..2363aa4 100755 --- a/archboxcommand.bash +++ b/archboxcommand.bash @@ -5,4 +5,4 @@ source /etc/archbox.conf DBUS_ADDRESS="$(cat /tmp/archbox_dbus_session_address)" COMMAND=$(echo $@ | tr ' ' '\ ') [[ $1 = "enter" ]] && chroot $CHROOT /sbin/env DBUS_SESSION_BUS_ADDRESS=$DBUS_ADDRESS /bin/su $USER \ - || chroot $CHROOT /bin/su -c "env $DBUS_ADDRESS $COMMAND" $USER + || chroot $CHROOT /bin/su -c "env DBUS_SESSION_BUS_ADDRESS=$DBUS_ADDRESS $COMMAND" $USER