From 9753859f09447e6ec9df7bfa49d653e422cadd16 Mon Sep 17 00:00:00 2001 From: Luis Uguina Date: Sun, 21 Jun 2020 19:15:53 +1000 Subject: [PATCH] Fix: add RENDERER_KILLED_BY_USER to download checks (#271) --- src/com/sheepit/client/Client.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sheepit/client/Client.java b/src/com/sheepit/client/Client.java index 78ba7091..a1364e97 100644 --- a/src/com/sheepit/client/Client.java +++ b/src/com/sheepit/client/Client.java @@ -740,7 +740,7 @@ private Error.Type downloadFile(Job ajob, String local_path, String md5_server, // must download the archive Error.Type ret = this.server.HTTPGetFile(url, local_path, this.gui, update_ui); - if (ret != Type.RENDERER_KILLED_BY_SERVER || ret != Type.RENDERER_KILLED_BY_USER_OVER_TIME) { + if (ret == Type.RENDERER_KILLED_BY_SERVER || ret == Type.RENDERER_KILLED_BY_USER_OVER_TIME || ret == Type.RENDERER_KILLED_BY_USER) { return ret; }