Check if files exist and not if they're regular files
This allows you to do weird shit without firestarter clobbering your setup
This commit is contained in:
parent
fc27ca53a8
commit
feb9438a7d
@ -399,7 +399,7 @@ step_execute() {
|
|||||||
fi
|
fi
|
||||||
# Parse configs
|
# Parse configs
|
||||||
for file in "$_configdir"/*; do
|
for file in "$_configdir"/*; do
|
||||||
if ! [ -f "$file" ]; then
|
if ! [ -e "$file" ]; then
|
||||||
log "No configuration files found; generating defaults"
|
log "No configuration files found; generating defaults"
|
||||||
step_generate
|
step_generate
|
||||||
step_execute
|
step_execute
|
||||||
|
Loading…
Reference in New Issue
Block a user