Skip to content

Commit

Permalink
Update minecraftctl.sh
Browse files Browse the repository at this point in the history
Remove `--totals` tar flag since its not needed and part of a script.
  • Loading branch information
Nathaniel Cook authored Sep 2, 2017
1 parent ac98846 commit 3239c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/minecraftctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ backup() {
ret=$(($ret + $?))
$DOCKER exec -u minecraft "$name" mkdir -p "/data/$BACKUP_DIR"
ret=$(($ret + $?))
$DOCKER exec -u minecraft "$name" tar -C /data -czf "$BACKUP_DIR/$filename" --totals "$LEVEL" server.properties
$DOCKER exec -u minecraft "$name" tar -C /data -czf "$BACKUP_DIR/$filename" "$LEVEL" server.properties
ret=$(($ret + $?))
game_command "save-on"
ret=$(($ret + $?))
Expand Down

0 comments on commit 3239c3a

Please sign in to comment.