# we run this cronjob along with sending the test email every 10
# minutes, so give it 2 minutes to arrive, then if there is an email at
# least 23 minutes old, the last 2 test emails have failed.
-if [[ ! $@ && $- != *i* ]]; then
+if [[ ! $1 && $- != *i* ]]; then
sleep 120
fi
rm -f /nocow/user/mailtest-failure
fi
-find -type f -mtime +1 -delete
+find . -type f -mtime +1 -delete