Package: smartmontools Version: 5.41+svn3365-1 The file /etc/smartmontools/run.d/10mail contains the following line:
[ -x /usr/bin/mail ] || (echo "[...]" ; exit 0)
The "exit 0" is inside a subshell, so it will only exit that subshell.
As a result, the whole script will still continue, and still attempot to
run /usr/bin/mail even if it doesn't exist. Not a real problem, I think,
but in that case one might as well omit the check line. A better
solution would be using curly braces instead of the parentheses:
[ -x /usr/bin/mail ] || { echo "[...]" ; exit 1; }
Should work well enough.
signature.asc
Description: OpenPGP digital signature

