mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Fixed warning reported when no paper jars to remove
This commit is contained in:
parent
6c6bf030c5
commit
d3bd697cb2
@ -57,6 +57,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
log "Removing old PaperMC versions ..."
|
log "Removing old PaperMC versions ..."
|
||||||
|
shopt -s nullglob
|
||||||
for f in paper-*.jar; do
|
for f in paper-*.jar; do
|
||||||
[[ $f != $SERVER ]] && rm $f
|
[[ $f != $SERVER ]] && rm $f
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user