diff --git a/xorg/50-systemd-user.sh b/xorg/50-systemd-user.sh index fb03ecbec0..41b7c8a3b4 100755 --- a/xorg/50-systemd-user.sh +++ b/xorg/50-systemd-user.sh @@ -8,7 +8,7 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. -systemctl --user import-environment DISPLAY XAUTHORITY +systemctl --user import-environment DISPLAY ${XAUTHORITY+XAUTHORITY} if command -v dbus-update-activation-environment >/dev/null 2>&1; then dbus-update-activation-environment DISPLAY XAUTHORITY