UserBootscript: avoid opening nonexistent files
Fixes: #19612 Change-Id: I6fe210e087adbd094cbfb5625d54fbe958f72473
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
# DO NOT EDIT!
|
||||
#=====================================================================
|
||||
# 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
|
||||
/bin/open "$file" &
|
||||
[ -e "$file" ] && /bin/open "$file" &
|
||||
done
|
||||
#=====================================================================
|
||||
# FEEL FREE TO EDIT BELOW
|
||||
|
||||
Reference in New Issue
Block a user