summaryrefslogtreecommitdiffstats
path: root/daemon/file.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-07-28 15:29:23 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-07-28 15:29:23 +0100
commit549bba81e739ab10d8013c9ca88ce70b0ddda8e4 (patch)
tree86ff08a71f3e2c9a40ea867c6a781ffa66bdd633 /daemon/file.c
parent6fe5a945c5cf8094f4d0bf05763418ec20f4c5f2 (diff)
downloadlibguestfs-549bba81e739ab10d8013c9ca88ce70b0ddda8e4.tar.gz
libguestfs-549bba81e739ab10d8013c9ca88ce70b0ddda8e4.tar.xz
libguestfs-549bba81e739ab10d8013c9ca88ce70b0ddda8e4.zip
Pass '-z' parameter to 'file' command so it looks inside compressed files.
Also we deprecate the old 'zfile' command.
Diffstat (limited to 'daemon/file.c')
-rw-r--r--daemon/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/file.c b/daemon/file.c
index 6062c50d..aab7e93e 100644
--- a/daemon/file.c
+++ b/daemon/file.c
@@ -416,7 +416,7 @@ do_file (char *path)
return NULL;
}
- r = command (&out, &err, "file", "-bsL", buf, NULL);
+ r = command (&out, &err, "file", "-zbsL", buf, NULL);
if (freeit) free (buf);
if (r == -1) {