summaryrefslogtreecommitdiffstats
path: root/zupdate.cc
diff options
context:
space:
mode:
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