From f848ee46f69e6a829fce8f4db09e4b0621a7b9b3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 8 Nov 2015 05:39:23 +0100 Subject: Merging upstream version 1.3. Signed-off-by: Daniel Baumann --- zupdate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zupdate.cc') 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 -- cgit v1.2.3