When /bin/sh is a symlink to a shell other than bash, the tmpwatch cron job fails due to its use of the bash-specific [[ operator. This could be resolved either by making the cron job run with /bin/bash or by using the POSIX standard [ operator for tests.
Steps to Reproduce:
1. ln -sf dash /bin/sh
/etc/cron.daily/tmpwatch: 33: /etc/cron.daily/tmpwatch: [[: not found
Created attachment 678939 [details, diff]