[mc] Correctly pre-populate json config files

For #158
This commit is contained in:
Geoff Bourne committed 2017-06-07 20:43:35 -05:00
1 parent 899f31917c
commit e509563b10
1 file changed
+2 -2
+2 -2
View File
@@ -557,10 +557,10 @@ fi
# Make sure files exist to avoid errors # Make sure files exist to avoid errors
if [ ! -e banned-players.json ]; then if [ ! -e banned-players.json ]; then
echo '' > banned-players.json echo '[]' > banned-players.json
fi fi
if [ ! -e banned-ips.json ]; then if [ ! -e banned-ips.json ]; then
echo '' > banned-ips.json echo '[]' > banned-ips.json
fi fi
# If any modules have been provided, copy them over # If any modules have been provided, copy them over