Don't source in xsessionrc

That's the DM's job, apparently
This commit is contained in:
Salt 2019-06-21 17:03:15 -05:00
parent 15e310f211
commit 311f83bf25

View File

@ -343,17 +343,6 @@ step_execute() {
err "Failed to create log directory \"$g_logdir\"" 53
fi
fi
if [ -f "$HOME/.xsessionrc" ]; then
if [ -r "$HOME/.xsessionrc" ]; then
if ! [ "$dryrun" = "1" ]; then
source "$HOME/.xsessionrc"
else
log "Would have sourced in .xsessionrc"
fi
else
log "Failed to read .xsessionrc"
fi
fi
for file in "$g_configdir"/*; do
if ! [ -f "$file" ]; then
log "No configuration files found; generating defaults"