summaryrefslogtreecommitdiffstats
path: root/modules/by-name/ly
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/ly')
-rw-r--r--modules/by-name/ly/ly/setup.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/by-name/ly/ly/setup.sh b/modules/by-name/ly/ly/setup.sh
index 6e8bed2b..ee861d6c 100644
--- a/modules/by-name/ly/ly/setup.sh
+++ b/modules/by-name/ly/ly/setup.sh
@@ -11,11 +11,10 @@ cd "$HOME" || {
}
if [ -z "$_DID_SYSTEMD_CAT" ]; then
- export _DID_SYSTEMD_CAT=1
- exec systemd-cat -t xsession "$0" "$@"
+ export _DID_SYSTEMD_CAT=1
+ exec systemd-cat -t xsession "$0" "$@"
fi
-
# Import environment variables into the systemd user environment.
/run/current-system/systemd/bin/systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_SESSION_ID
@@ -36,7 +35,6 @@ mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}"
unset _DID_SYSTEMD_CAT
-
if test "$1"; then
# Run the supplied session command.
exec "$@"