summaryrefslogtreecommitdiff
path: root/src/import/import-tar.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-21 03:02:23 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-21 04:03:54 +0100
commit5a3b1abd0ef47de9984d921463c2aaccc630fad6 (patch)
treeb085900d71849298c72ee1e38c044f203c0ec5a6 /src/import/import-tar.c
parent90bc083bda5e97064d6a97c855ef7b4868f650de (diff)
import: improve logging
Diffstat (limited to 'src/import/import-tar.c')
-rw-r--r--src/import/import-tar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/import/import-tar.c b/src/import/import-tar.c
index 08839caae7..e8afc269b7 100644
--- a/src/import/import-tar.c
+++ b/src/import/import-tar.c
@@ -262,6 +262,7 @@ static int tar_import_job_on_open_disk(ImportJob *j) {
safe_close(null_fd);
execlp("tar", "tar", "--numeric-owner", "-C", i->temp_path, "-px", NULL);
+ log_error_errno(errno, "Failed to execute tar: %m");
_exit(EXIT_FAILURE);
}