summaryrefslogtreecommitdiffstats
path: root/ztest.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:39:23 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:39:23 +0000
commitf848ee46f69e6a829fce8f4db09e4b0621a7b9b3 (patch)
treeabbeb9f5c041901786016188c1b8d5051c2643d9 /ztest.cc
parentAdding debian version 1.3~rc1-1. (diff)
downloadzutils-f848ee46f69e6a829fce8f4db09e4b0621a7b9b3.tar.xz
zutils-f848ee46f69e6a829fce8f4db09e4b0621a7b9b3.zip
Merging upstream version 1.3.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'ztest.cc')
-rw-r--r--ztest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ztest.cc b/ztest.cc
index cb78eb1..a4ee1aa 100644
--- a/ztest.cc
+++ b/ztest.cc
@@ -1,5 +1,5 @@
/* Ztest - verify integrity of compressed files
- Copyright (C) 2010, 2011, 2012, 2013, 2014 Antonio Diaz Diaz.
+ Copyright (C) 2010-2014 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -164,7 +164,7 @@ int ztest_file( const int infd, int format_index,
{
if( disable_xz < 0 )
{
- std::string command( compressor_name ); command += " -V > /dev/null";
+ std::string command( compressor_name ); command += " -V > /dev/null 2>&1";
disable_xz = ( std::system( command.c_str() ) != 0 );
}
if( disable_xz ) return 0; // ignore this file if no xz installed