summaryrefslogtreecommitdiff
path: root/src/import/import-common.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-26 10:09:11 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-26 10:09:11 +0200
commit031fc5a1ac1c3f4739eb2a1c9761bfb2fab5af3e (patch)
tree915f2b86aeafa7d15ee03be03ceb9d45a4db2568 /src/import/import-common.c
parentaa036f1a236dc1b76879cc3870c77c4062adf948 (diff)
parentcca3a6b118fa3f2a0e0a555cddeb36b5cf64afb0 (diff)
Merge pull request #998 from vbatts/tar_nosparse_flag
import: don't create sparse tar archives
Diffstat (limited to 'src/import/import-common.c')
-rw-r--r--src/import/import-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/import-common.c b/src/import/import-common.c
index 950c7b4acd..d8a3bbc249 100644
--- a/src/import/import-common.c
+++ b/src/import/import-common.c
@@ -210,7 +210,7 @@ int import_fork_tar_c(const char *path, pid_t *ret) {
if (r < 0)
log_error_errno(r, "Failed to drop capabilities, ignoring: %m");
- execlp("tar", "tar", "--sparse", "-C", path, "-c", ".", NULL);
+ execlp("tar", "tar", "-C", path, "-c", ".", NULL);
log_error_errno(errno, "Failed to execute tar: %m");
_exit(EXIT_FAILURE);
}