Skip to content

Commit

Permalink
#20 - Use -f
Browse files Browse the repository at this point in the history
  • Loading branch information
johanjanssens committed Oct 11, 2021
1 parent 61f0d4c commit 230e24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/s6/cont-init.d/110-mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [[ ! -d $MYSQL_DATA_DIR ]]; then
mkdir $MYSQL_DATA_DIR
chown --reference=/var/lib/mysql $MYSQL_DATA_DIR
chmod --reference=/var/lib/mysql $MYSQL_DATA_DIR
cp -R -p /var/lib/mysql/* $MYSQL_DATA_DIR
cp -Rpf /var/lib/mysql/* $MYSQL_DATA_DIR

fi

Expand Down

0 comments on commit 230e24c

Please sign in to comment.