Skip to content

Commit 4a8bad3

Browse files
committed
fix: skip checking server integrity when listing backups (server might already be uninstalled)
1 parent 4925399 commit 4a8bad3

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

serman.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,6 @@ backup)
221221
print_usage "${args[0]}" "${args[1]}"
222222
exit 1
223223
fi
224-
# check if server installation is corret
225-
server_directory="${MINECRAFT_SERVER_DIR}/${server_alias}"
226-
check_server_installation "$server_directory" || {
227-
echo "[ERROR] Server '$server_alias' is corrupted." >&2
228-
$VERBOSE || echo "[INFO] Run again with -v for verbose logging." >&2
229-
exit 1
230-
}
231224
# list backup information
232225
if in_array "--json-format" "${flags[@]}"; then
233226
declare -a json_objs

0 commit comments

Comments
 (0)