git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Inspect kernels for Linux OSes.
[libguestfs.git]
/
daemon
/
tar.c
diff --git
a/daemon/tar.c
b/daemon/tar.c
index
ecf919d
..
a33ec3a
100644
(file)
--- a/
daemon/tar.c
+++ b/
daemon/tar.c
@@
-139,7
+139,7
@@
do_tar_out (const char *dir)
}
}
- if (
r == -1
) {
+ if (
ferror (fp)
) {
perror (dir);
send_file_end (1); /* Cancel. */
pclose (fp);
@@
-261,7
+261,7
@@
do_tgz_out (const char *dir)
}
}
- if (
r == -1
) {
+ if (
ferror (fp)
) {
perror (dir);
send_file_end (1); /* Cancel. */
pclose (fp);