]> git.pld-linux.org Git - packages/clamav.git/commitdiff
- it shouldn't be quiet in that case
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 20 Apr 2004 17:45:43 +0000 (17:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clamav-post-updatedb -> 1.2

clamav-post-updatedb

index eb7231626ccc2ac6aea1a078c0b2f28074cfa09b..ab00abc1d3b950d874c929f1154c3137f5328802 100644 (file)
@@ -2,7 +2,6 @@
 
 [ -f /etc/sysconfig/clamd ] && . /etc/sysconfig/clamd
 
-[ -z "$UPDATE_QUIET" ] && UPDATE_QUIET="yes"
 [ -z "$FETCH_AFTER_UPGRADE" ] && FETCH_AFTER_UPGRADE="no"
 
 if [ "$UPDATE_QUIET" = "yes" ]; then
@@ -11,9 +10,6 @@ fi
     
 if [ "$FETCH_AFTER_UPGRADE" = "yes" ]; then
        umask 022
-       log=$(/usr/bin/freshclam $freshclamopt -l /var/log/freshclam.log --daemon-notify 2>&1)
-       if [ "$UPDATE_QUIET" != "yes" ]; then
-           echo "$log"
-       fi
+       /usr/bin/freshclam $freshclamopt -l /var/log/freshclam.log --daemon-notify
 fi
 
This page took 0.130881 seconds and 4 git commands to generate.