diff --git a/root/etc/cron.daily/qpsmtpd-db-cleanup b/root/etc/cron.daily/qpsmtpd-db-cleanup index 60d9f02..3d9e576 100644 --- a/root/etc/cron.daily/qpsmtpd-db-cleanup +++ b/root/etc/cron.daily/qpsmtpd-db-cleanup @@ -1,5 +1,7 @@ #!/bin/bash +HOME=/root + LOG=$(/sbin/e-smith/db configuration getprop qpsmtpd Log2Sql || echo 'disabled') if [ "$LOG" != "enabled" ]; then