UserBootscript: avoid opening nonexistent files

Fixes: #19612
Change-Id: I6fe210e087adbd094cbfb5625d54fbe958f72473
This commit is contained in:
Máximo Castañeda
2025-06-11 12:48:09 +02:00
parent 26bedc8f4e
commit 86caaf1c50
+2 -2
View File
@@ -3,9 +3,9 @@
# DO NOT EDIT! # DO NOT EDIT!
#===================================================================== #=====================================================================
# Start programs and open files in the boot launch folder # Start programs and open files in the boot launch folder
for file in $HOME/config/settings/boot/launch/* for file in "$HOME"/config/settings/boot/launch/*
do do
/bin/open "$file" & [ -e "$file" ] && /bin/open "$file" &
done done
#===================================================================== #=====================================================================
# FEEL FREE TO EDIT BELOW # FEEL FREE TO EDIT BELOW