summaryrefslogtreecommitdiffhomepage
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/webbox/webbox.cpp2
1 files changed, 1 insertions, 1 deletions
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) {