Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
Fix: add RENDERER_KILLED_BY_USER to download checks (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
luguina authored Jun 21, 2020
1 parent 90137a3 commit 9753859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/sheepit/client/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9753859

Please sign in to comment.