]> git.pld-linux.org Git - packages/amavisd.git/commitdiff
- mks_vir returns all output to stderr, and errorcore fix.. amavisd-20010714-6
authorbartowl <bartowl@pld-linux.org>
Sat, 20 Apr 2002 18:42:16 +0000 (18:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amavisd-mks_vir.patch -> 1.4

amavisd-mks_vir.patch

index ddb58929dc08994db7d7917389701e84500fb0a2..904e3cddcb585b9a076519421c08fde75d9fb37b 100644 (file)
@@ -41,8 +41,8 @@ diff -urN amavisd-orig/amavis/av/mksvir amavisd-snapshot-20010714/amavis/av/mksv
 +
 +
 +if ($mksvir ne "") {
-+        $output = `$mksvir -s $TEMPDIR/parts/*`;
-+       $errval = $?;
++        $output = `$mksvir -s $TEMPDIR/parts/* 2>&1`;
++        $errval = ($? >> 8);
 +        do_log(2,$output);
 +        if ($errval != 0) {
 +                if ($output =~ /file.*virus/) { # exit codes aren't as reliable as it seems :(
This page took 0.030342 seconds and 4 git commands to generate.