From ef63da27938ae091a341893c38e59d489888625a Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 26 Jun 2020 11:15:44 +0200 Subject: webserver 1.11: Fix archive download in webbox --- plugins/webbox/webbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/webbox/webbox.cpp b/plugins/webbox/webbox.cpp index 37ddde2..d19f428 100644 --- a/plugins/webbox/webbox.cpp +++ b/plugins/webbox/webbox.cpp @@ -513,7 +513,7 @@ protected: Tempfile tempfile; // guards this path, removing file afterwards via RAII - arglist = "/usr/bin/zip -r "s + tempfile.GetPath().string() + " "s + arglist; + arglist = "/usr/bin/zip -r - "s + arglist + " > "s + tempfile.GetPath().string(); int system_result {system(arglist.c_str())}; if (system_result != 0) { -- cgit v1.2.3