From 32bce7bfa19fe2fc4ced503fddc452dd19e190ec Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 16 Apr 2020 11:27:55 +0100 Subject: [PATCH] Return 1 on failure --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index ab8e67af..e252f069 100644 --- a/daemon.py +++ b/daemon.py @@ -866,7 +866,7 @@ class PubServer(BaseHTTPRequestHandler): self.end_headers() self.server.POSTbusy = False return 0 - return 2 + return 1 def _isAuthorized(self) -> bool: if self.path.startswith('/icons/') or \