Fix: set -u breaks X startup

as other scripts are relying on unset variables
This commit is contained in:
Knut Ahlers 2024-09-23 17:01:26 +02:00
parent 419dbdfc27
commit bfeb8b689f
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -eo pipefail
[[ -d ${HOME}/.xprofile.d ]] && { [[ -d ${HOME}/.xprofile.d ]] && {
for lc in $(find ${HOME}/.xprofile.d -name '*.zsh' -o -name '*.sh'); do for lc in $(find ${HOME}/.xprofile.d -name '*.zsh' -o -name '*.sh'); do