summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fr-command-zip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fr-command-zip.c b/src/fr-command-zip.c
index 8c51bef..aa2b9fc 100644
--- a/src/fr-command-zip.c
+++ b/src/fr-command-zip.c
@@ -253,6 +253,7 @@ fr_command_zip_add (FrCommand *comm,
}
fr_process_add_arg (comm->process, comm->filename);
+ fr_process_add_arg (comm->process, "--");
for (scan = file_list; scan; scan = scan->next)
fr_process_add_arg (comm->process, scan->data);
@@ -275,6 +276,7 @@ fr_command_zip_delete (FrCommand *comm,
fr_process_add_arg (comm->process, "-d");
fr_process_add_arg (comm->process, comm->filename);
+ fr_process_add_arg (comm->process, "--");
for (scan = file_list; scan; scan = scan->next) {
char *escaped;
@@ -319,6 +321,7 @@ fr_command_zip_extract (FrCommand *comm,
add_password_arg (comm, comm->password);
fr_process_add_arg (comm->process, comm->filename);
+ fr_process_add_arg (comm->process, "--");
for (scan = file_list; scan; scan = scan->next) {
char *escaped;