summaryrefslogtreecommitdiff
path: root/src/fr-archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-archive.c')
-rw-r--r--src/fr-archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-archive.c b/src/fr-archive.c
index abe5dc3..bae1557 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -1628,7 +1628,7 @@ fr_archive_add (FrArchive *archive,
return;
}
- archive->command->creating_archive = ! g_file_test (archive->command->filename, G_FILE_TEST_EXISTS);
+ archive->command->creating_archive = ! g_file_query_exists (archive->local_copy, NULL);
fr_command_uncompress (archive->command);