From feb9438a7d283745720ab73c45cb68238ef3dfda Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 21 Jun 2019 21:18:00 -0500 Subject: [PATCH] Check if files exist and not if they're regular files This allows you to do weird shit without firestarter clobbering your setup --- firestarter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firestarter b/firestarter index 8e5bd6a..61427a6 100755 --- a/firestarter +++ b/firestarter @@ -399,7 +399,7 @@ step_execute() { fi # Parse configs for file in "$_configdir"/*; do - if ! [ -f "$file" ]; then + if ! [ -e "$file" ]; then log "No configuration files found; generating defaults" step_generate step_execute