From 58cfba400d696402f07c39903be3833499275618 Mon Sep 17 00:00:00 2001 From: Nathaniel Cook Date: Sat, 14 Apr 2018 14:21:49 -0600 Subject: [PATCH] update grep command for new saved message --- src/minecraftctl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minecraftctl.sh b/src/minecraftctl.sh index 0a66c4a..82f2696 100755 --- a/src/minecraftctl.sh +++ b/src/minecraftctl.sh @@ -138,7 +138,7 @@ game_command() { # Do a world save save() { - game_command "save-all flush" "Saved the world" + game_command "save-all flush" "Saved the" game_command "say Saved the world" } @@ -153,7 +153,7 @@ backup() { ret=0 game_command "save-off" ret=$(($ret + $?)) - game_command "save-all flush" "Saved the world" + game_command "save-all flush" "Saved the" ret=$(($ret + $?)) sync ret=$(($ret + $?))