mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-12 21:32:28 +00:00
Fixed warning reported when no paper jars to remove
This commit is contained in:
parent
6c6bf030c5
commit
d3bd697cb2
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue