From 26b1152b0d88989cbb547889efb8328cbdf0bb70 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Tue, 9 Feb 2021 20:21:44 +0200 Subject: [PATCH] Made KlamAV update the existing scheduled scan script. Before this, KlamAV would fill its directory with identical scheduled scan scripts. The only thing which might change between them would be the $PATH variable. Signed-off-by: Mavridis Philippe --- src/schedule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schedule.cpp b/src/schedule.cpp index 580d16f..27acc0b 100644 --- a/src/schedule.cpp +++ b/src/schedule.cpp @@ -352,7 +352,7 @@ TQString Schedule::createScanScript() .arg(today.toString("ddMMyy")) .arg(now.toString("hhmmss")); - TQFile file( TQString("%1/ScanWithKlamav_%2.sh").arg(path).arg(timestring )); + TQFile file( TQString("%1/ScanWithKlamav.sh").arg(path) ); if ( file.open( IO_WriteOnly ) ) { TQTextStream ts( &file );