diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-02-09 20:21:44 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-02-09 20:21:44 +0200 |
commit | 26b1152b0d88989cbb547889efb8328cbdf0bb70 (patch) | |
tree | d1c3506786a48613881ad79d78fd4db594f3b3c4 | |
parent | 8628f7a34a41306e81eb37952d5b268d3e111d44 (diff) | |
download | klamav-26b1152b0d88989cbb547889efb8328cbdf0bb70.tar.gz klamav-26b1152b0d88989cbb547889efb8328cbdf0bb70.zip |
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 <mavridisf@gmail.com>
-rw-r--r-- | src/schedule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |