summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fr-command-unarchiver.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c
index 3e32f25..d13f468 100644
--- a/src/fr-command-unarchiver.c
+++ b/src/fr-command-unarchiver.c
@@ -199,8 +199,7 @@ fr_command_unarchiver_extract (FrCommand *comm,
else
fr_process_add_arg (comm->process, "-s");
- if (junk_paths)
- fr_process_add_arg (comm->process, "-D");
+ fr_process_add_arg (comm->process, "-D");
if ((comm->password != NULL) && (comm->password[0] != '\0'))
fr_process_add_arg_concat (comm->process, "-password=", comm->password, NULL);
@@ -306,7 +305,7 @@ fr_command_unarchiver_init (FrCommand *comm)
comm->propExtractCanAvoidOverwrite = TRUE;
comm->propExtractCanSkipOlder = FALSE;
- comm->propExtractCanJunkPaths = TRUE;
+ comm->propExtractCanJunkPaths = FALSE;
comm->propPassword = TRUE;
comm->propTest = FALSE;
comm->propListFromFile = FALSE;