summaryrefslogtreecommitdiffstats
path: root/zupdate.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 /zupdate.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 'zupdate.cc')
-rw-r--r--zupdate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zupdate.cc b/zupdate.cc
index ddaa0eb..62fc2c1 100644
--- a/zupdate.cc
+++ b/zupdate.cc
@@ -206,7 +206,7 @@ int zupdate_file( const std::string & name, const char * const lzip_name,
{
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