CVS commit by kloecker: Backport CVS commit by gungl: avoid accumulation of output from different processes (fixes 61305) M +5 -1 kmfilteraction.cpp 1.114.4.2 --- kdepim/kmail/kmfilteraction.cpp #1.114.4.1:1.114.4.2 @@ -498,6 +498,10 @@ KMFilterAction::ReturnCode KMFilterActio return ErrorButGoOn; - if ( !shProc.normalExit() || shProc.exitStatus() != 0 ) + if ( !shProc.normalExit() || shProc.exitStatus() != 0 ) { + // eat the output to avoid acummulation for following processes + if ( withOutput ) + kmkernel->getCollectedStdOut( &shProc ); return ErrorButGoOn; + } if ( withOutput ) {