]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Portability fix: non-GNU diff is not guarranteed to handle the -q switch
authorFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 13 Nov 2009 13:12:57 +0000 (14:12 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 13 Nov 2009 13:12:57 +0000 (14:12 +0100)
scripts/remove-cfg.sh

index 7b5905fd06fd55e8b02136757cc4b62a14544c79..f3e997c7c2ea1bc7db1aff9fc2de7ae700984948 100644 (file)
@@ -18,7 +18,7 @@ fi
 if test -f $prime
 then
        # is the primary config identical to the default?
-       if diff -q $default $prime > /dev/null
+       if diff $default $prime > /dev/null
        then
                echo " $remover -f $prime";
                 $remover -f $prime;