summaryrefslogtreecommitdiffstats
path: root/zupdate.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:39:17 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:39:17 +0000
commit35bd6e4a7ab54f8ff0a1c77653d6898af5dcf183 (patch)
treeb3a897eeacf8b5d05a89972afd89e3cd2dc42974 /zupdate.cc
parentAdding upstream version 1.3~rc1. (diff)
downloadzutils-35bd6e4a7ab54f8ff0a1c77653d6898af5dcf183.tar.xz
zutils-35bd6e4a7ab54f8ff0a1c77653d6898af5dcf183.zip
Adding upstream version 1.3.upstream/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