]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-cdrom.cc
merged from lp:~donkult/apt/sid
[apt.git] / cmdline / apt-cdrom.cc
index da2ffa3901ef53cdf557344b4d9c24e367fcb737..d1268edf9a239358db91d9d9746667fa159c8ef5 100644 (file)
@@ -266,7 +266,7 @@ int main(int argc,const char *argv[])                                       /*{{{*/
       return ShowHelp();
 
    // Deal with stdout not being a tty
-   if (isatty(STDOUT_FILENO) && _config->FindI("quiet",0) < 1)
+   if (isatty(STDOUT_FILENO) && _config->FindI("quiet", -1) == -1)
       _config->Set("quiet","1");
    
    // Match the operation