How can I fix the daily cron error: /etc/cron.daily/maldet: line 69: [: ==: unary operator expected?

There is a bug in the Linux Malware Detect v1.6.4 daily cron script. You can fix the error by changing line 69 in /etc/cron.daily/maldet


elif [ $cron_daily_scan == "1" ]; then


elif [ "$cron_daily_scan" == "1" ]; then
  • maldet
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How hard is it to uninstall if I do not require Sentinel Anti-malware any more?

Uninstalling Sentinel Anti-malware is as easy as going to Extensions -> My Extensions ->...

How can I view the contents of a file in the quarantine?

To View the File Contents Navigate to Sentinel Anti-malware -> Quarantine Click on a File...

How can I test that the Anti-malware detection is working?

Testing Sentinel Anti-malware Detection Download the eicar test malware into the httpdocs...

How can I enable automatic quarantine using Sentinal Anti-malware?

Sentinel Anti-malware can automatically quarantine viruses and malware the moment they are...

How can I report a virus or malware that was not detected by ClamAV?

If you have a virus or malware that is not detected by ClamAV, please fill out:...