From a15592eb68a52a7e20b900bdac7a27080e331664 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Tue, 18 Feb 2025 16:03:51 -0600 Subject: [PATCH] checks --- monitarr/monitarr/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitarr/monitarr/main.cpp b/monitarr/monitarr/main.cpp index 5d051e2..e3e03ad 100644 --- a/monitarr/monitarr/main.cpp +++ b/monitarr/monitarr/main.cpp @@ -137,7 +137,7 @@ static void check_server(const server_cfg &server, data_db &state_db) { if (size_left == data->size_left) { remove_stalled(download_id, title, episode_id, movie_id, server, state_db); - } else if (not is_downloading) { + } else if (size_left == 0U || not is_downloading) { state_db.remove(download_id); } else { update_entry();