Skip to content

Commit 03b7770

Browse files
author
Ric Harvey
authored
Merge pull request richarvey#197 from that0n3guy/textFileBusy
added sync to prevent 'text file busy' on slow filesystems
2 parents 28f7fbd + c950011 commit 03b7770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ fi
187187
if [[ "$RUN_SCRIPTS" == "1" ]] ; then
188188
if [ -d "/var/www/html/scripts/" ]; then
189189
# make scripts executable incase they aren't
190-
chmod -Rf 750 /var/www/html/scripts/*
190+
chmod -Rf 750 /var/www/html/scripts/*; sync;
191191
# run scripts in number order
192192
for i in `ls /var/www/html/scripts/`; do /var/www/html/scripts/$i ; done
193193
else

0 commit comments

Comments
 (0)